Fri Apr 29 2011 07:59:25

Asterisk developer's documentation


ast_sockaddr Struct Reference

#include <netsock2.h>

Data Fields

socklen_t len
struct sockaddr_storage ss

Detailed Description

Socket address structure. The first member is big enough to contain addresses of any family. The second member contains the length (in bytes) used in the first member.

Some BSDs have the length embedded in sockaddr structs. We ignore them. (This is the right thing to do.)

Definition at line 53 of file netsock2.h.


Field Documentation


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