Loading...
Searching...
No Matches
sockaddr_in Struct Reference

IPv4 socket address type. More...

Detailed Description

IPv4 socket address type.

sockaddr

Definition at line 228 of file in.h.

#include <in.h>

Data Fields

sa_family_t sin_family
 Protocol family, always AF_INET.
 
in_port_t sin_port
 Port number.
 
struct in_addr sin_addr
 IPv4 address.
 

Field Documentation

◆ sin_addr

struct in_addr sockaddr_in::sin_addr

IPv4 address.

Definition at line 231 of file in.h.

◆ sin_family

sa_family_t sockaddr_in::sin_family

Protocol family, always AF_INET.

Definition at line 229 of file in.h.

◆ sin_port

in_port_t sockaddr_in::sin_port

Port number.

Definition at line 230 of file in.h.


The documentation for this struct was generated from the following file: