sockaddr Struct Reference

#include <stdapis/sys/socket.h>

struct sockaddr
Public Attributes
charsa_data
u_shortsa_family
unsigned charsa_len
u_shortsa_port

Detailed Description

Structure used by EPOC32 to store most addresses. NB. EPOC32 uses 32-bit family and port numbers internally, but they have been left as shorts here for compatibility with code that uses htons()/ntohs() explicitly.

Structure used by kernel to store most addresses.

Member Attribute Documentation

sa_data

charsa_data

actually longer; address value

sa_family

u_shortsa_family

address family

sa_len

unsigned charsa_len

total length

sa_port

u_shortsa_port