9 #ifndef CPPSERVER_NANOMSG_PUSH_SERVER_H 10 #define CPPSERVER_NANOMSG_PUSH_SERVER_H 35 explicit PushServer(
const std::string& address,
bool threading =
true)
55 #endif // CPPSERVER_NANOMSG_PUSH_SERVER_H
size_t Send(const void *buffer, size_t size)
Send data to the client.
PushServer(const std::string &address, bool threading=true)
Initialize server with a given endpoint address.
C++ Server project definitions.
PushServer & operator=(const PushServer &)=delete
Nanomsg server definition.
Protocol
Nanomsg protocol.
This socket is used to receive a message from a cluster of nodes. Send operation is not implemented o...
Standard full-blown socket.
virtual ~PushServer()=default
size_t TrySend(const void *buffer, size_t size)
Try to send data to the client in non-blocking mode.