Module offline

Source
Expand description

Offline packets are packets that are sent before a connection is established. In rak-rs, these packets consist of:

During this stage, the client and server are exchanging information about each other, such as the server id, the client id, the mtu size, etc, to prepare for the connection handshake.

Structs§

IncompatibleProtocolVersion
This packet is sent by the server to indicate that the server does not support the protocol version of the client.
OpenConnectReply
This packet is sent in response to a OpenConnectRequest packet, and confirms the information sent by the peer in the OpenConnectRequest packet.
OpenConnectRequest
This packet is the equivelant of the OpenConnectRequest packet in RakNet.
SessionInfoReply
This packet is sent in response to a SessionInfoRequest packet, and confirms all the information sent by the peer in the SessionInfoRequest packet. This packet also specifies the external address of the peer, as well as whether or not encryption at the RakNet level is enabled on the server.
SessionInfoRequest
This packet is sent after receiving a OpenConnectReply packet, and confirms that the peer wishes to proceed with the connection. The information within this packet is primarily used to get the external address of the peer.
UnconnectedPing
Send to the other peer expecting a UnconnectedPong packet, this is used to determine the latency between the client and the server, and to determine if the server is online.
UnconnectedPong
Sent in response to a UnconnectedPing packet. This is used to determine the latency between the client and the server, and to determine that the peer is online.

Enums§

OfflinePacket
This is an enum of all offline packets.