Lines Matching refs:sock
166 curl_socket_t *sock);
245 struct sockaddr *sock = (struct sockaddr *)&sa; /* bind to this address */
246 curl_socklen_t sizeof_sa = 0; /* size of the data sock points to */
433 if(bind(sockfd, sock, sizeof_sa) >= 0) {
453 if(sock->sa_family == AF_INET)
786 conn->sock[sockindex] = conn->tempsock[i];
806 Curl_updateconninfo(conn, conn->sock[sockindex]);
974 * Note that even on connect fail it returns CURLE_OK, but with 'sock' set to
1245 sockfd = c->sock[FIRSTSOCKET];
1277 curl_socket_t sock)
1280 if((sock == conn->sock[SECONDARYSOCKET]) &&
1287 Curl_multi_closed(conn, sock);
1288 return conn->fclosesocket(conn->closesocket_client, sock);
1294 Curl_multi_closed(conn, sock);
1296 sclose(sock);