Lines Matching defs:sock
121 curl_socket_t sock = conn->sock[sockindex];
130 curlx_nonblock(sock, FALSE);
238 code = Curl_write_plain(conn, sock, (char *)socksreq,
248 code = Curl_write_plain(conn, sock, (char *)hostname, hostnamelen,
259 result = Curl_blockread_all(conn, sock, (char *)socksreq, packetsize,
338 curlx_nonblock(sock, TRUE);
376 curl_socket_t sock = conn->sock[sockindex];
399 curlx_nonblock(sock, TRUE);
402 result = Curl_socket_ready(CURL_SOCKET_BAD, sock, timeout);
430 curlx_nonblock(sock, FALSE);
432 code = Curl_write_plain(conn, sock, (char *)socksreq, (2 + (int)socksreq[1]),
439 curlx_nonblock(sock, TRUE);
441 result = Curl_socket_ready(sock, CURL_SOCKET_BAD, timeout);
457 curlx_nonblock(sock, FALSE);
459 result=Curl_blockread_all(conn, sock, (char *)socksreq, 2, &actualread);
512 code = Curl_write_plain(conn, sock, (char *)socksreq, len, &written);
518 result=Curl_blockread_all(conn, sock, (char *)socksreq, 2, &actualread);
643 code = Curl_write_plain(conn, sock, (char *)socksreq, len, &written);
658 result = Curl_blockread_all(conn, sock, (char *)socksreq,
739 result = Curl_blockread_all(conn, sock, (char *)&socksreq[10],
750 curlx_nonblock(sock, TRUE);