#include <senf/Socket/SocketPolicy.hh>
The WritePolicy defines, whether the socket is writable. It may define two members:
method | unsigned write(FileHandle, char * buffer, unsigned size) |
read data from socket |
method | unsigned writeto(FileHandle, char * buffer, unsigned size, Address &) |
read data from unconnected socket |
The second member should only be enabled if the communication policy is UnconnectedCommunicationPolicy (otherwise it does not make sense since the communication partner is fixed) (see AddressingPolicyBase on how to do this).
Definition at line 381 of file SocketPolicy.hh.
Public Member Functions |
|
virtual | ~WritePolicyBase () |
senf::WritePolicyBase:: | ||||
~WritePolicyBase | () | |||
Definition at line 47 of file SocketPolicy.cc.