Policy defining socket addressing. More...
#include <senf/Socket/SocketPolicy.hh>
Classes | |
class | Address |
Public Member Functions | |
virtual | ~AddressingPolicyBase () |
Policy defining socket addressing.
AddressingPolicyBase is the baseclass of all addressing policy classes. When defining a new addressing policy, the following members can be defined. All methods must be static.
typedef | Address | Address type |
method | void local(FileHandle, Address &) | Get local socket address |
method | void peer(FileHandle, Address &) | Get remote socket address |
method | void bind(FileHandle, Address const &) | Bind socket to local address |
method | void connect(FileHandle, Address const &) | Connect to remote address |
Definition at line 274 of file SocketPolicy.hh.
|
virtual |
Definition at line 26 of file SocketPolicy.cc.