Lines Matching refs:all_sockets
134 static curl_socket_t all_sockets[MAX_SOCKETS];
1916 all_sockets[num_sockets] = msgsock;
2154 all_sockets[0] = sock;
2295 if(CURL_SOCKET_BAD == all_sockets[socket_idx]) {
2296 char *dst = (char *) (all_sockets + socket_idx);
2297 char *src = (char *) (all_sockets + socket_idx + 1);
2298 char *end = (char *) (all_sockets + num_sockets);
2313 FD_SET(all_sockets[socket_idx], &input);
2314 if(all_sockets[socket_idx] > maxfd)
2315 maxfd = all_sockets[socket_idx];
2341 if(FD_ISSET(all_sockets[0], &input)) {
2354 if(FD_ISSET(all_sockets[socket_idx], &input)) {
2360 rc = service_connection(all_sockets[socket_idx], &req, sock,
2380 if(all_sockets[socket_idx] != CURL_SOCKET_BAD) {
2381 sclose(all_sockets[socket_idx]);
2382 all_sockets[socket_idx] = CURL_SOCKET_BAD;
2407 if((all_sockets[socket_idx] != sock) &&
2408 (all_sockets[socket_idx] != CURL_SOCKET_BAD))
2409 sclose(all_sockets[socket_idx]);