equal
deleted
inserted
replaced
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 |