Networking

Note: WebSocket is only supported on UTP 2.0.0-pre.3+.

The Relay service allows players to communicate over several different protocols, including UDP, datagram TLS (DTLS), and secure WebSocket (WSS). After allocated to a Relay server, clients talk directly to the Relay server using one of the aforementioned protocols. Relay BIND messages are further authenticated through HMAC signatures. The Allocation service relies on UAS authentication and HTTPS encryption.

WebSocket connections allow for multiplayer connectivity on browsers using WebGL.

For connections to a Relay allocation, for any of the supported protocols, the system uses a port range of 37000 to 37100.

Check out Authentication, DTLS encryption, Scaling, and Locations.