MessageMgr::SendConnectionlessMessage
Defined in:
Sends a message to a remote machine for which no connection exists.
C4Messages.hPrototype
void SendConnectionlessMessage(const NetworkAddress& to, const Message& message);
Parameters
to |
The address of the recipient of this message. |
message |
The message to be sent. |
Description
The SendConnectionlessMessage function sends a connectionless data packet to the machine whose address is given by the address parameter. This function is normally called in response to a kConnectionQueryReceived event received by the Application::HandleConnectionEvent to return information about the server to another machine that broadcasted a server query.Connectionless data packets are sent using the low-level Network Manager function
NetworkMgr::SendConnectionlessPacket and are not guaranteed to be received.
See Also
