Syntax
virtual void send(
const int dest_channel,
const CL_NetGroup *dest,
const CL_NetMessage &message,
bool reliable = true);
Parameters
dest | - | Computer in the netgame to receive the message. |
dest_channel | - | Netchannel the message is sent to. |
message | - | Data in the message sent. All the data from 'message' is duplicated before this function returns. |
reliable | - | Arrival reliability. True guarantees arrival (use TCP/Pony express), false doesn't (use UDP/US Mail). |
dest | - | The group of computers to receive the message. |
dest_channel | - | Netchannel the message is sent to. |
message | - | Data in the message sent. All the data from 'message' is duplicated before this function returns. |
reliable | - | Arrival reliability. True guarantees arrival (use TCP/Pony express), false doesn't (use UDP/US Mail). |
Description
Sends a message to the computer dest at netchannel dest_port.Sends a message to a group of computers at netchannel dest_channel.
Back to index
|