Lines Matching full:socket
17 #include <sys/socket.h>
46 * the socket
51 * \return the socket used or -1 on failure
57 * the socket
59 * valid socket. Please use ldns_udp_bgsend2 instead of this function.
64 * \return the socket used or 0 on failure
70 * the socket
75 * \return the socket used or -1 on failure
81 * the socket
83 * valid socket. Please use ldns_tcp_bgsend2 instead of this function.
88 * \return the socket used or 0 on failure
129 * Create a tcp socket to the specified address
133 * \return a socket descriptor or -1 on failure
138 * Create a tcp socket to the specified address
140 * valid socket. Please use ldns_tcp_connect2 instead of this function.
144 * \return a socket descriptor or 0 on failure
149 * Create a udp socket to the specified address
151 * \param[in] timeout *unused*, was timeout for the socket
152 * \return a socket descriptor or -1 on failure
157 * Create a udp socket to the specified address
159 * valid socket. Please use ldns_udp_connect2 instead of this function.
161 * \param[in] timeout *unused*, was timeout for the socket
162 * \return a socket descriptor or 0 on failure
170 * \param[in] sockfd the socket to use
181 * \param[in] sockfd the socket to use
190 * socket. Allocates the data (of size size) itself, so don't forget to free
192 * \param[in] sockfd the socket to read from
202 * socket. Allocates the data (of size size) itself, so don't forget to free
204 * \param[in] sockfd the socket to read from
212 * socket. Allocates the data (of size size) itself, so don't forget to free
214 * \param[in] sockfd the socket to read from