apr_sockaddr_t Struct Reference
[Network Routines]

#include <apr_network_io.h>


Data Fields

apr_pool_tpool
char * hostname
char * servname
apr_port_t port
apr_int32_t family
apr_socklen_t salen
int ipaddr_len
int addr_str_len
void * ipaddr_ptr
apr_sockaddr_tnext
union {
   struct sockaddr_in   sin
sa


Detailed Description

APRs socket address type, used to ensure protocol independence

Field Documentation

The pool to use...

The hostname

Either a string of the port number or the service name for the port

The numeric port

The family

apr_socklen_t apr_sockaddr_t::salen

How big is the sockaddr we're using?

How big is the ip address structure we're using?

How big should the address buffer be? 16 for v4 or 46 for v6 used in inet_ntop...

This points to the IP address structure within the appropriate sockaddr structure.

If multiple addresses were found by apr_sockaddr_info_get(), this points to a representation of the next address.

struct sockaddr_in apr_sockaddr_t::sin [read]

IPv4 sockaddr structure

union { ... } apr_sockaddr_t::sa

Union of either IPv4 or IPv6 sockaddr.


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

Generated on Sun Jun 6 04:43:54 2010 for Apache Portable Runtime by  doxygen 1.5.6