Microchip® Advanced Software Framework

sockaddr_in Struct Reference

Socket address structure for IPV4 addresses. Used to specify socket address information to connect to. Can be cast to sockaddr structure.

#include <socket.h>

Data Fields

in_addr sin_addr
 
uint16 sin_family
 
uint16 sin_port
 
uint8 sin_zero [8]
 

uint8 sockaddr_in::sin_zero

Padding to make structure the same size as sockaddr.