Lines Matching defs:sockfd
127 const curl_socket_t sockfd = conn->sock[num];
138 const int readymask = Curl_socket_check(sockfd, CURL_SOCKET_BAD,
149 psnd->bindsock = sockfd; /* Used only for DEBUGASSERT */
155 DEBUGASSERT(psnd->bindsock == sockfd);
156 recvedbytes = sread(sockfd, psnd->buffer + psnd->recv_size,
253 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *conn,
275 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written);
306 curl_socket_t sockfd,
313 int num = (sockfd == conn->sock[SECONDARYSOCKET]);
341 curl_socket_t sockfd = conn->sock[num];
352 bytes_written = sendto(sockfd, mem, len, MSG_FASTOPEN,
358 bytes_written = swrite(sockfd, mem, len);
396 curl_socket_t sockfd,
403 int num = (sockfd == conn->sock[SECONDARYSOCKET]);
415 curl_socket_t sockfd = conn->sock[num];
425 nread = sread(sockfd, buf, len);
625 CURLcode Curl_read_plain(curl_socket_t sockfd,
630 ssize_t nread = sread(sockfd, buf, bytesfromsocket);
658 curl_socket_t sockfd, /* read from this socket */
675 int num = (sockfd == conn->sock[SECONDARYSOCKET]);