Lines Matching defs:sock
167 curl_socket_t *sock);
241 struct sockaddr *sock = (struct sockaddr *)&sa; /* bind to this address */
242 curl_socklen_t sizeof_sa = 0; /* size of the data sock points to */
427 if(bind(sockfd, sock, sizeof_sa) >= 0) {
447 if(sock->sa_family == AF_INET)
775 conn->sock[sockindex] = conn->tempsock[i];
795 Curl_updateconninfo(conn, conn->sock[sockindex]);
967 * Note that even on connect fail it returns CURLE_OK, but with 'sock' set to
1195 sockfd = c->sock[FIRSTSOCKET];
1208 if(recv((RECV_TYPE_ARG1)c->sock[FIRSTSOCKET], (RECV_TYPE_ARG2)&buf,
1227 curl_socket_t sock)
1230 if((sock == conn->sock[SECONDARYSOCKET]) &&
1237 return conn->fclosesocket(conn->closesocket_client, sock);
1239 sclose(sock);
1243 Curl_multi_closed(conn, sock);