apr_os_sock_info_t Struct Reference
[Portability Routines]

#include <apr_portable.h>

Data Fields

sockaddr * local
sockaddr * remote
int family
int type

Detailed Description

everything APR needs to know about an active socket to construct an APR socket from it; currently, this is platform-independent

Field Documentation

apr_os_sock_t* apr_os_sock_info_t::os_sock

always required

struct sockaddr* apr_os_sock_info_t::local [read]

NULL if not yet bound

struct sockaddr* apr_os_sock_info_t::remote [read]

NULL if not connected

int apr_os_sock_info_t::family

always required (APR_INET, APR_INET6, etc.)

int apr_os_sock_info_t::type

always required (SOCK_STREAM, SOCK_DGRAM, etc.) enable with APR 1.0

The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 11:47:27 2007 for Apache Portable Runtime by  doxygen 1.5.2