Ignore:
Timestamp:
Nov 21, 2008, 4:32:55 PM (13 years ago)
Author:
charles
Message:

(libT) define peer connections' sockets' so_sndbuf size in the tr_session struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r6924 r7133  
    5959struct in_addr;
    6060struct sockaddr_in;
     61struct tr_session;
    6162
    6263/***********************************************************************
     
    7071 * Sockets
    7172 **********************************************************************/
    72 int  tr_netOpenTCP( const struct in_addr * addr,
     73int  tr_netOpenTCP( struct tr_handle     * session,
     74                    const struct in_addr * addr,
    7375                    tr_port_t              port );
    7476
    7577int  tr_netBindTCP( int port );
    7678
    77 int  tr_netAccept( int    s,
    78                    struct in_addr *,
    79                           tr_port_t * );
     79int  tr_netAccept( struct tr_handle  * session,
     80                   int                 bound,
     81                   struct in_addr    * setme_addr,
     82                   tr_port_t         * setme_port );
    8083
    8184int  tr_netSetTOS( int s,
Note: See TracChangeset for help on using the changeset viewer.