ldns_tcp_read_wire (3) Linux Manual Page
ldns_tcp_send_query, ldns_tcp_read_wire, ldns_tcp_connect Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ssize_t ldns_tcp_send_query(ldns_buffer *qbin, int sockfd, const struct sockaddr_storage *to, socklen_t tolen); uint8_t* ldns_tcp_read_wire(int sockfd, size_t *size); int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout); Description ldns_tcp_send_query() send a query via tcp to a server. Don’t want for the answer .br qbin: the buffer to…
