Socket.st
changeset 3742 a12020350fa0
parent 3741 2a39a558012f
child 3743 79ae1399e8b1
child 3843 fbced69597a7
equal deleted inserted replaced
3741:2a39a558012f 3742:a12020350fa0
    47 // The default is linger until all data is sent in background
    47 // The default is linger until all data is sent in background
    48 // so the close on the socket is non-blocking
    48 // so the close on the socket is non-blocking
    49 // linger.onoff=off linger.time= *irrelevant*
    49 // linger.onoff=off linger.time= *irrelevant*
    50 //# define SET_LINGER_WHEN_CREATING_SOCKET
    50 //# define SET_LINGER_WHEN_CREATING_SOCKET
    51 
    51 
    52 # ifdef __MINGW__
    52 # ifdef __xxMINGW__
    53 extern HANDLE _get_osfhandle();
    53 extern HANDLE _get_osfhandle();
    54 # endif
    54 # endif
    55 
    55 
    56 # if defined(__BORLANDC__)
    56 # if defined(__BORLANDC__)
    57 // not defined in borland headers
    57 // not defined in borland headers