Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of OmniWheels by
sockaddr_in Struct Reference
[Fnet_socket]
IPv4 Socket address structure. More...
#include <fnet_socket.h>
Data Fields | |
struct in_addr | sin_addr |
32-bit internet address. | |
fnet_address_family_t | sin_family |
Specifies the address family. | |
fnet_uint16_t | sin_port |
16-bit port number used to demultiplex the transport-level messages (in network byte order). | |
fnet_scope_id_t | sin_scope_id |
Scope zone index, defining network interface. |
Detailed Description
IPv4 Socket address structure.
- See also:
- sockaddr
To make manipulation of the sockaddr structure easier, the TCP/IPv4 stack also defines the equivalent structure sockaddr_in ("in" means "Internet").
Definition at line 68 of file sockets.h.
Field Documentation
fnet_address_family_t sin_family |
Specifies the address family.
It must ne set to AF_INET.
Definition at line 215 of file fnet_socket.h.
fnet_uint16_t sin_port |
16-bit port number used to demultiplex the transport-level messages (in network byte order).
Definition at line 217 of file fnet_socket.h.
Scope zone index, defining network interface.
Definition at line 220 of file fnet_socket.h.
Generated on Fri Jul 22 2022 04:54:15 by
