Lines Matching defs:clientfd
1385 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD};
1404 clientfd[CTRL] = *infdp;
1437 if((clientfd[DATA] == CURL_SOCKET_BAD) &&
1451 if(clientfd[i] != CURL_SOCKET_BAD) {
1454 FD_SET(clientfd[i], &input);
1455 if(clientfd[i] > maxfd)
1456 maxfd = clientfd[i];
1461 FD_SET(clientfd[i], &output);
1462 if(clientfd[i] > maxfd)
1463 maxfd = clientfd[i];
1500 if((clientfd[DATA] == CURL_SOCKET_BAD) &&
1548 clientfd[DATA] = datafd;
1569 if(clientfd[i] != CURL_SOCKET_BAD) {
1571 if(len && FD_ISSET(clientfd[i], &input)) {
1573 rc = sread(clientfd[i], &readclient[i][tos[i]], len);
1576 shutdown(clientfd[i], SHUT_RD);
1605 if(clientfd[i] != CURL_SOCKET_BAD) {
1606 if(toc[i] && FD_ISSET(clientfd[i], &output)) {
1608 rc = swrite(clientfd[i], readserver[i], toc[i]);
1611 shutdown(clientfd[i], SHUT_WR);
1656 if(clientfd[i] != CURL_SOCKET_BAD) {
1659 shutdown(clientfd[i], SHUT_RD);
1664 shutdown(clientfd[i], SHUT_WR);
1692 if(clientfd[i] != CURL_SOCKET_BAD) {
1695 sclose(clientfd[i]);
1696 clientfd[i] = CURL_SOCKET_BAD;
1711 if(clientfd[i] == CURL_SOCKET_BAD) {
1743 if(clientfd[i] != CURL_SOCKET_BAD) {
1745 shutdown(clientfd[i], SHUT_RDWR);
1746 sclose(clientfd[i]);
1749 (clientfd[i] != CURL_SOCKET_BAD)) {