The SendAll method sends data to all the clients
bool SendAll(
cnet::Bytes& data,
const std::vector<Address>& exceptions = {},
cnet::Protocol proto = cnet::Protocol::TCP
);
data
The data to send
exceptions
Which addresses not to send to
proto
Which protocol to use. the default is cnet::Protocol::TCP
true
- all data was sent
false
- not all data was sent