Skip to main content

Overview

Network Architecture

Using Pretia’s Networking SDK, it is important to keep in mind the architecture that is used.

The Game Server mostly acts as a relay server that will forward messages from one client to the other, and there will always be one client that is selected as the host by the Game Server.

The host selection is simple, it will choose based on which client connects first. If the Host client is disconnected, then the next connected client will be chosen.

Underlying Protocol

Currently we only support TCP.

This means packets will be sent reliably and in order, however it is more likely to have higher latency.