The Send method sends data to the specified address
bool Send(
cnet::Bytes& data,
const Address &address,
cnet::Protocol proto = cnet::Protocol::TCP);
data
The data to send
address
The address of the client
proto
Which protocol to use. the default is cnet::Protocol::TCP
true
- all data was sent
false
- not all data was sent