libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
dns_address_t Struct Reference

Structure representing a resolved network address. More...

#include <dns.h>

Data Fields

char address [46]
 
int family
 
int socktype
 
int protocol
 

Detailed Description

Structure representing a resolved network address.

Contains the resolved address information including the address string, address family, socket type, and protocol information.

Field Documentation

◆ address

char dns_address_t::address[46]

IP address string (max IPv6 length)

◆ family

int dns_address_t::family

Address family (AF_INET or AF_INET6)

◆ protocol

int dns_address_t::protocol

Protocol (IPPROTO_TCP, IPPROTO_UDP, etc.)

◆ socktype

int dns_address_t::socktype

Socket type (SOCK_STREAM, SOCK_DGRAM, etc.)


The documentation for this struct was generated from the following file: