Searched refs:msgsock (Results 1 – 3 of 3) sorted by relevance
/external/curl/tests/server/ |
D | sws.c | 1797 curl_socket_t msgsock = CURL_SOCKET_BAD; in accept_connection() local 1806 msgsock = accept(sock, NULL, NULL); in accept_connection() 1809 if(CURL_SOCKET_BAD != msgsock) in accept_connection() 1810 sclose(msgsock); in accept_connection() 1814 if(CURL_SOCKET_BAD == msgsock) { in accept_connection() 1825 if(0 != curlx_nonblock(msgsock, TRUE)) { in accept_connection() 1829 sclose(msgsock); in accept_connection() 1833 if(0 != setsockopt(msgsock, SOL_SOCKET, SO_KEEPALIVE, in accept_connection() 1838 sclose(msgsock); in accept_connection() 1854 all_sockets[num_sockets] = msgsock; in accept_connection() [all …]
|
D | rtspd.c | 1183 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1346 msgsock = accept(sock, NULL, NULL); in main() 1350 if(CURL_SOCKET_BAD == msgsock) { in main() 1374 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main() 1390 if(get_request(msgsock, &req)) in main() 1408 send_doc(msgsock, &req); in main() 1430 sclose(msgsock); in main() 1431 msgsock = CURL_SOCKET_BAD; in main() 1444 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1445 sclose(msgsock); in main()
|
D | sockfilt.c | 1333 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local 1507 msgsock = sock; /* use this as stream */ in main() 1516 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main() 1535 juggle_again = juggle(&msgsock, sock, &mode); in main() 1540 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1541 sclose(msgsock); in main()
|