Skip to content

struct in_addr

The in_addr struct represents an IP address. More...

#include <sys/socket.h>

Public Attributes

Name
in_addr_ts_addr

Detailed Description

cpp
struct in_addr;

The in_addr struct represents an IP address.

The in_addr struct is used to store and manipulate an IP address. It contains a single member s_addr, which is of type in_addr_t and represents the IP address.

Public Attributes Documentation

variable s_addr

cpp
in_addr_t in_addr::s_addr