VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GNet::AddressStorage Class Reference

and hiding the definition of sockaddr_storage. More...

#include <gaddress.h>

Public Member Functions

 AddressStorage ()
 Default constructor.
 
 ~AddressStorage ()
 Destructor.
 
sockaddr * p1 ()
 Returns the sockaddr pointer for accept()/getsockname()/getpeername() to write into. More...
 
socklen_t * p2 ()
 Returns the length pointer for accept()/getsockname()/getpeername() to write into. More...
 
const sockaddr * p () const
 Returns the pointer.
 
socklen_t n () const
 Returns the length.
 

Detailed Description

and hiding the definition of sockaddr_storage.

Definition at line 200 of file gaddress.h.

Member Function Documentation

sockaddr * GNet::AddressStorage::p1 ( )

Returns the sockaddr pointer for accept()/getsockname()/getpeername() to write into.

Definition at line 225 of file gaddress_ipv4.cpp.

socklen_t * GNet::AddressStorage::p2 ( )

Returns the length pointer for accept()/getsockname()/getpeername() to write into.

Definition at line 230 of file gaddress_ipv4.cpp.


The documentation for this class was generated from the following files: