Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sockaddr_in Struct Reference

Socket address struct for IPv4. More...

#include <net_ip.h>

Data Fields

sa_family_t sin_family
 AF_INET

 
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

AF_INET

◆ sin_port

uint16_t sockaddr_in::sin_port

Port number


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