Searched refs:msgsock (Results 1 – 5 of 5) sorted by relevance
/third_party/curl/tests/server/ |
D | sws.c | 1719 curl_socket_t msgsock = CURL_SOCKET_BAD; in accept_connection() local 1728 msgsock = accept(sock, NULL, NULL); in accept_connection() 1731 if(CURL_SOCKET_BAD != msgsock) in accept_connection() 1732 sclose(msgsock); in accept_connection() 1736 if(CURL_SOCKET_BAD == msgsock) { in accept_connection() 1747 if(0 != curlx_nonblock(msgsock, TRUE)) { in accept_connection() 1751 sclose(msgsock); in accept_connection() 1755 if(0 != setsockopt(msgsock, SOL_SOCKET, SO_KEEPALIVE, in accept_connection() 1760 sclose(msgsock); in accept_connection() 1776 all_sockets[num_sockets] = msgsock; in accept_connection() [all …]
|
D | rtspd.c | 1046 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1261 msgsock = accept(sock, NULL, NULL); in main() 1265 if(CURL_SOCKET_BAD == msgsock) { in main() 1289 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main() 1305 if(get_request(msgsock, &req)) in main() 1323 send_doc(msgsock, &req); in main() 1345 sclose(msgsock); in main() 1346 msgsock = CURL_SOCKET_BAD; in main() 1359 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1360 sclose(msgsock); in main()
|
D | mqttd.c | 924 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1040 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main() 1062 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1063 sclose(msgsock); in main()
|
D | sockfilt.c | 1321 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1495 msgsock = sock; /* use this as stream */ in main() 1504 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main() 1530 juggle_again = juggle(&msgsock, sock, &mode); in main() 1535 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1536 sclose(msgsock); in main()
|
D | socksd.c | 883 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1006 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main() 1030 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1031 sclose(msgsock); in main()
|