|
The Micro C++ Library
|
The Sender class defines a combination of a connection and a send(const void*, size_t, bool) method. More...
#include <micxx/traits/Sender.hxx>
Inherits micxx::traits::Connection.
Inherited by micxx::traits::BiDiConnection.
Public Member Functions | |
| virtual int | send (const void *bytes, size_t size, bool blocking=true)=0 |
| Try to send up to size number of bytes. | |
The Sender class defines a combination of a connection and a send(const void*, size_t, bool) method.
| virtual int micxx::traits::Sender::send | ( | const void * | bytes, |
| size_t | size, | ||
| bool | blocking = true |
||
| ) | [pure virtual] |
Try to send up to size number of bytes.
| bytes | The pointer to the sending buffer |
| size | The number of bytes to be expected to be sent |
| blocking | If blocking is true, then the call waits until all size bytes were sent. Otherwise, it returns as soon as possible. |
0. Implemented in micxx::SSLClientSocket, micxx::SSLProtocol, and micxx::StreamSocket.