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