Searched refs:msgsock (Results 1 – 3 of 3) sorted by relevance
/external/curl/tests/server/ |
D | sws.c | 1791 curl_socket_t msgsock = CURL_SOCKET_BAD; in accept_connection() local 1800 msgsock = accept(sock, NULL, NULL); in accept_connection() 1803 if(CURL_SOCKET_BAD != msgsock) in accept_connection() 1804 sclose(msgsock); in accept_connection() 1808 if(CURL_SOCKET_BAD == msgsock) { in accept_connection() 1819 if(0 != curlx_nonblock(msgsock, TRUE)) { in accept_connection() 1823 sclose(msgsock); in accept_connection() 1827 if(0 != setsockopt(msgsock, SOL_SOCKET, SO_KEEPALIVE, in accept_connection() 1832 sclose(msgsock); in accept_connection() 1848 all_sockets[num_sockets] = msgsock; in accept_connection() [all …]
|
D | rtspd.c | 1172 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1335 msgsock = accept(sock, NULL, NULL); in main() 1339 if (CURL_SOCKET_BAD == msgsock) { in main() 1363 if (setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main() 1379 if(get_request(msgsock, &req)) in main() 1397 send_doc(msgsock, &req); in main() 1419 sclose(msgsock); in main() 1420 msgsock = CURL_SOCKET_BAD; in main() 1433 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1434 sclose(msgsock); in main()
|
D | sockfilt.c | 1312 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1486 msgsock = sock; /* use this as stream */ in main() 1495 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main() 1514 juggle_again = juggle(&msgsock, sock, &mode); in main() 1519 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1520 sclose(msgsock); in main()
|