Lines Matching refs:all_sockets
132 static curl_socket_t all_sockets[MAX_SOCKETS]; variable
1888 all_sockets[num_sockets] = msgsock; in accept_connection()
2126 all_sockets[0] = sock; in main()
2267 if(CURL_SOCKET_BAD == all_sockets[socket_idx]) { in main()
2268 char *dst = (char *) (all_sockets + socket_idx); in main()
2269 char *src = (char *) (all_sockets + socket_idx + 1); in main()
2270 char *end = (char *) (all_sockets + num_sockets); in main()
2285 FD_SET(all_sockets[socket_idx], &input); in main()
2286 if(all_sockets[socket_idx] > maxfd) in main()
2287 maxfd = all_sockets[socket_idx]; in main()
2310 if(FD_ISSET(all_sockets[0], &input)) { in main()
2323 if(FD_ISSET(all_sockets[socket_idx], &input)) { in main()
2329 rc = service_connection(all_sockets[socket_idx], &req, sock, in main()
2349 if(all_sockets[socket_idx] != CURL_SOCKET_BAD) { in main()
2350 sclose(all_sockets[socket_idx]); in main()
2351 all_sockets[socket_idx] = CURL_SOCKET_BAD; in main()
2376 if((all_sockets[socket_idx] != sock) && in main()
2377 (all_sockets[socket_idx] != CURL_SOCKET_BAD)) in main()
2378 sclose(all_sockets[socket_idx]); in main()