Loading...
Searching...
No Matches
sockaddr Struct Reference

Used to define the socket address. More...

Detailed Description

Used to define the socket address.

This structure is is forced to be aligned as uint32_t, as e.g. the IPv4 address is stored as uint32_t

Definition at line 129 of file socket.h.

#include <socket.h>

Data Fields

sa_family_t sa_family
 Address family.
 
char sa_data [SOCKADDR_MAX_DATA_LEN]
 Socket address (variable length data)
 

Field Documentation

◆ sa_data

char sockaddr::sa_data[SOCKADDR_MAX_DATA_LEN]

Socket address (variable length data)

Definition at line 131 of file socket.h.

◆ sa_family

sa_family_t sockaddr::sa_family

Address family.

Definition at line 130 of file socket.h.


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