Lines Matching defs:sock
674 curl_socket_t sock = CURL_SOCKET_BAD;
766 sock = socket(AF_INET, SOCK_DGRAM, 0);
769 sock = socket(AF_INET6, SOCK_DGRAM, 0);
772 if(CURL_SOCKET_BAD == sock) {
781 if (0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
797 rc = bind(sock, &me.sa, sizeof(me.sa4));
805 rc = bind(sock, &me.sa, sizeof(me.sa6));
834 n = (ssize_t)recvfrom(sock, &buf.storage[0], sizeof(buf.storage), 0,
916 if((peer != sock) && (peer != CURL_SOCKET_BAD))
919 if(sock != CURL_SOCKET_BAD)
920 sclose(sock);