Lines Matching refs:INVALID_SOCKET
125 #define INVALID_SOCKET (-1) macro
233 if (s != INVALID_SOCKET) { in have_ipv6()
437 ret->fd = INVALID_SOCKET; in xmlNanoHTTPNewCtxt()
474 if (ctxt->fd != INVALID_SOCKET) closesocket(ctxt->fd); in xmlNanoHTTPFreeCtxt()
475 ctxt->fd = INVALID_SOCKET; in xmlNanoHTTPFreeCtxt()
914 if (s == INVALID_SOCKET) { in xmlNanoHTTPConnectAttempt()
919 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
960 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
975 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
988 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1016 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1021 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1043 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1051 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1057 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt()
1115 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1123 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1133 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1143 if (s != INVALID_SOCKET) { in xmlNanoHTTPConnectHost()
1203 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1211 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1223 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1235 if (s != INVALID_SOCKET) in xmlNanoHTTPConnectHost()
1246 return INVALID_SOCKET; in xmlNanoHTTPConnectHost()
1435 if (ret == INVALID_SOCKET) { in xmlNanoHTTPMethodRedir()