Ignore:
Timestamp:
Aug 16, 2008, 9:06:57 PM (14 years ago)
Author:
charles
Message:

#220: lazy bitfields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r6552 r6556  
    4444#include "natpmp.h"
    4545#include "net.h"
     46#include "peer-io.h"
    4647#include "platform.h"
    4748#include "utils.h"
     
    123124        fd = makeSocketNonBlocking( fd );
    124125
     126#if 0
    125127    if( fd >= 0 ) {
    126128        const int buffsize = 1500*3; /* 3x MTU for most ethernet/wireless */
    127129        setsockopt( fd, SOL_SOCKET, SO_SNDBUF, &buffsize, sizeof( buffsize ) );
    128130    }
     131#endif
    129132
    130133    return fd;
     
    139142
    140143    if( ( s = createSocket( type, priority ) ) < 0 )
    141     {
    142144        return -1;
    143     }
    144145
    145146    memset( &sock, 0, sizeof( sock ) );
     
    162163    }
    163164
     165    tr_deepLog( __FILE__, __LINE__, NULL, "New OUTGOING connection %d (%s)",
     166                s, tr_peerIoAddrStr( addr, port ) );
     167
    164168    return s;
    165169}
Note: See TracChangeset for help on using the changeset viewer.