struct NetworkMessage

Represents a message received from the network.

Public

Fields

MessageType

u8 MessageType

Type of message (user-defined).

Sender

Connection that sent this message.

Data

const u8 * Data

Pointer to message data (includes the MessageType byte as first byte).

Length

u32 Length

Total length of message data in bytes.

Internal

Fields

BackendData

void * BackendData