Mixe for Privacy and Anonymity in the Internet
|virtual CASocketAddr *||clone () const =0|
|Creates a copy of the Address. |
|virtual SINT32||getType () const =0|
|The type (family) of socket for which this address is useful. |
|virtual SINT32||getSize () const =0|
|The size of the SOCKADDR struct needed by function of CASocket and other. |
|virtual const SOCKADDR *||LPSOCKADDR () const =0|
|Casts to a SOCKADDR struct. |
|virtual SINT32||toString (UINT8 *buff, UINT32 bufflen) const =0|
|Returns a string which describes this address in a human readable form. |
The type (family) of socket for which this address is useful.
Must be overwritten in subclasses.
Referenced by CAMuxSocket::accept(), CACacheLoadBalancing::add(), CADatagramSocket::bind(), CASocket::connect(), CACmdLnOptions::createSockets(), CAMiddleMix::init(), CAFirstMix::init(), and CASocket::listen().
Returns a string which describes this address in a human readable form.
|buff||buffer which stores the result|
|bufflen||size of buff|
|E_SPACE||if the buffer is to small|
|E_UNKNOWN||in case of an other error|