Lines Matching refs:CURL_SOCKET_BAD
965 curl_socket_t sockfd = CURL_SOCKET_BAD; in juggle()
1010 if(CURL_SOCKET_BAD == sockfd) { in juggle()
1026 if(CURL_SOCKET_BAD != sockfd) { in juggle()
1040 sockfd = CURL_SOCKET_BAD; in juggle()
1138 if(sockfd != CURL_SOCKET_BAD) { in juggle()
1141 *sockfdp = CURL_SOCKET_BAD; in juggle()
1154 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
1160 if(CURL_SOCKET_BAD == newfd) { in juggle()
1194 *sockfdp = CURL_SOCKET_BAD; in juggle()
1236 return CURL_SOCKET_BAD; in sockdaemon()
1241 return CURL_SOCKET_BAD; in sockdaemon()
1281 return CURL_SOCKET_BAD; in sockdaemon()
1303 return CURL_SOCKET_BAD; in sockdaemon()
1324 return CURL_SOCKET_BAD; in sockdaemon()
1341 return CURL_SOCKET_BAD; in sockdaemon()
1351 curl_socket_t sock = CURL_SOCKET_BAD; in main()
1352 curl_socket_t msgsock = CURL_SOCKET_BAD; in main()
1484 if(CURL_SOCKET_BAD == sock) { in main()
1532 if(CURL_SOCKET_BAD == sock) { in main()
1536 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main()
1567 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main()
1570 if(sock != CURL_SOCKET_BAD) in main()