Microchip® Advanced Software Framework

in_addr Struct Reference

For compatibility with BSD code.

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

in_addr_t s_addr
 
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.