libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
|
Structure representing a resolved network address. More...
#include <dns.h>
Data Fields | |
char | address [46] |
int | family |
int | socktype |
int | protocol |
Structure representing a resolved network address.
Contains the resolved address information including the address string, address family, socket type, and protocol information.
char dns_address_t::address[46] |
IP address string (max IPv6 length)
int dns_address_t::family |
Address family (AF_INET or AF_INET6)
int dns_address_t::protocol |
Protocol (IPPROTO_TCP, IPPROTO_UDP, etc.)
int dns_address_t::socktype |
Socket type (SOCK_STREAM, SOCK_DGRAM, etc.)