Lines Matching defs:socket_idx
1974 size_t socket_idx;
2285 for(socket_idx = num_sockets - 1; socket_idx >= 1; --socket_idx) {
2286 if(CURL_SOCKET_BAD == all_sockets[socket_idx]) {
2287 char *dst = (char *) (all_sockets + socket_idx);
2288 char *src = (char *) (all_sockets + socket_idx + 1);
2302 for(socket_idx = 0; socket_idx < num_sockets; ++socket_idx) {
2304 FD_SET(all_sockets[socket_idx], &input);
2305 if(all_sockets[socket_idx] > maxfd)
2306 maxfd = all_sockets[socket_idx];
2348 for(socket_idx = 1; (socket_idx < num_sockets) && active; ++socket_idx) {
2349 if(FD_ISSET(all_sockets[socket_idx], &input)) {
2356 rc = service_connection(all_sockets[socket_idx], req, sock,
2376 if(all_sockets[socket_idx] != CURL_SOCKET_BAD) {
2377 sclose(all_sockets[socket_idx]);
2378 all_sockets[socket_idx] = CURL_SOCKET_BAD;
2415 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx)
2416 if((all_sockets[socket_idx] != sock) &&
2417 (all_sockets[socket_idx] != CURL_SOCKET_BAD))
2418 sclose(all_sockets[socket_idx]);