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 AppServerCb(), connect_cmd_handler(), ConnectNetwork(), http_client_send_request(), http_client_socket_resolve_handler(), m2m_ip_cb(), main(), sendto(), smtpConnect(), sslConnect(), and wifi_ap_provision().