Microchip® Advanced Software Framework

in_addr Struct Reference

IPv4 address representation.

This structure is used as a placeholder for IPV4 address in other structures.
See Also
sockaddr_in

#include <socket.h>

Data Fields

uint32 s_addr
 

uint32 in_addr::s_addr

Network Byte Order representation of the IPv4 address. For example, the address "192.168.0.10" is represented as 0x0A00A8C0.

Referenced by ConnectNetwork(), m2m_ip_cb(), and sendto().