Zephyr API Documentation  3.7.0-rc2
A Scalable Open Source RTOS
No Matches
sockaddr_in Struct Reference

Socket address struct for IPv4. More...

#include <net_ip.h>

Data Fields

sa_family_t sin_family

uint16_t sin_port
 Port number

struct in_addr sin_addr
 IPv4 address.

Detailed Description

Socket address struct for IPv4.

Field Documentation

◆ sin_addr

struct in_addr sockaddr_in::sin_addr

IPv4 address.

◆ sin_family

sa_family_t sockaddr_in::sin_family


◆ sin_port

uint16_t sockaddr_in::sin_port

Port number

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