Wizard
Software Engineering Project - Wizard
|
#include <sock_address.h>
Public Member Functions | |
virtual | ~sock_address () |
virtual socklen_t | size () const =0 |
virtual sockaddr * | sockaddr_ptr ()=0 |
virtual const sockaddr * | sockaddr_ptr () const =0 |
virtual sa_family_t | family () const |
Generic socket address. Abstract base class for socket addresses. The underlying C socket functions typically take or return an address as a sockaddr
pointer and length. So derived classes that wrap the
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Gets the network family of the address.
|
pure virtual |
Gets the size of this structure. This is equivalent to sizeof(this) but more convenient in some places.
Implemented in sockpp::inet6_address, sockpp::inet_address, sockpp::sock_address_any, and sockpp::unix_address.
|
pure virtual |
Gets a pointer to this object cast to a sockaddr.
Implemented in sockpp::inet6_address, sockpp::inet_address, sockpp::sock_address_any, and sockpp::unix_address.
|
pure virtual |
Gets a pointer to this object cast to a sockaddr.
Implemented in sockpp::inet6_address, sockpp::inet_address, sockpp::sock_address_any, and sockpp::unix_address.