#include <senf/Socket/SocketPolicy.hh>
The CommunicationPolicy may define two members:
method | void listen(FileHandle, unsigned backlog) |
Switch socket into listening state |
method | int accept(FileHandle, Address &) |
Accept a new connection |
method | int accept(FileHandle) |
Accept a new connection |
The listen
member is straight forward. The accept()
member must return a new file descriptor (which will be used to create a new SocketHandle of the correct type).
Definition at line 335 of file SocketPolicy.hh.
Public Member Functions |
|
virtual | ~CommunicationPolicyBase () |
senf::CommunicationPolicyBase:: | ||||
~CommunicationPolicyBase | () | |||
Definition at line 41 of file SocketPolicy.cc.