![]() |
• Network Manager | |||||||||||||||
|
API Links
Developer Links
|
NetworkMgr::SendUnreliablePacketDefined in:
Sends an unreliable packet to another machine.
C4Network.h
Prototype
Parameters
Description
The SendUnreliablePacket function sends a data packet to the machine whose address is given by the to parameter, but does not guarantee delivery. The return value is one of the following network result codes.
SendUnreliablePacket function can be used to send messages to it. Connections are established at the Network Manager level by calling the NetworkMgr::Connect function.Unreliable packets are used for "fire and forget" messages. Once sent, an unreliable packet is no longer tracked by the sending machine, and the receiving machine does not return an acknowledgement. Delivery of an unreliable packet is not guaranteed, but the Network Manager does ensure that unreliable packets are received in the same order in which they were sent. (This is done by ignoring any unreliable packets sent earlier than the one most recently received.) Packet data is encrypted before it is transmitted. See Also
|