Embedded TCP/IP stack: fnet_sockaddr_in Struct Reference

FNET

fnet_sockaddr_in Struct Reference

IPv4 Socket address structure. More...

Data Fields

fnet_address_family_t sin_family
 Specifies the address family.
It must ne set to AF_INET. More...
 
fnet_uint16_t sin_port
 16-bit port number used to demultiplex the transport-level messages (in network byte order). More...
 
fnet_scope_id_t sin_scope_id
 Scope zone index, defining network interface. More...
 
struct fnet_in_addr sin_addr
 32-bit internet address. More...
 

Detailed Description

IPv4 Socket address structure.

See also
fnet_sockaddr

To make manipulation of the fnet_sockaddr structure easier, the TCP/IPv4 stack also defines the equivalent structure fnet_sockaddr_in ("in" means "Internet").

Definition at line 212 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