Embedded TCP/IP stack
4.1.0
|
fnet_sockaddr Struct Reference
Socket address structure. More...
Data Fields | |
fnet_address_family_t | sa_family |
Address family. Specifies the address family, to which the address belongs. It is defined by fnet_address_family_t. More... | |
fnet_uint16_t | sa_port |
16-bit port number used to demultiplex the transport-level messages (in network byte order). More... | |
fnet_scope_id_t | sa_scope_id |
Scope zone index, defining network interface. More... | |
fnet_uint8_t | sa_data [FNET_SA_DATA_SIZE] |
Address value. For the TCP/IP stack, it contains the destination address and port number for a socket. More... | |
Detailed Description
Socket address structure.
- See also
- fnet_sockaddr_in, fnet_sockaddr_in6
The original goal of the fnet_sockaddr structure is to support multiple protocols. For the TCP/IP stack sa_data
, it contains a destination address and port number for a socket.
Definition at line 270 of file fnet_socket.h.
The documentation for this struct was generated from the following file:
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net