Searched refs:server_sock (Results 1 – 3 of 3) sorted by relevance
390 server_sock = (SOCKET)GetStdHandle(STD_INPUT_HANDLE); in set_server_sock()392 if (server_sock != INVALID_SOCKET) { in set_server_sock()401 server_sock = dup(0); in set_server_sock()404 if ((server_sock = in set_server_sock()718 close(server_sock); in recv_passphrase()751 close(server_sock); in process_requests()1081 si.hStdInput = (HANDLE)server_sock; in spawn_child()1103 (int)(UINT_PTR)server_sock); in spawn_child()1179 if ((server_sock = accept(listen_fd, in accept_connection()1194 setsockopt(server_sock, in accept_connection()[all …]
221 SOCKET server_sock = INVALID_SOCKET; variable2594 if ((bytes_sent = send(server_sock, in send_response_n()2693 FD_SET(server_sock,&readfds); in recv_request_timed_n()2704 close(server_sock); in recv_request_timed_n()2708 if ((bytes_recvd = recv(server_sock, buf, bytes_left, 0)) > 0) { in recv_request_timed_n()2733 close(server_sock); in recv_request_timed_n()2746 close(server_sock); in recv_request_timed_n()2758 close(server_sock); in recv_request_timed_n()
508 extern SOCKET server_sock;