Documentation

Support

Relay

Relay

Networking

Learn about the multiple protocols that Relay supports for multiplayer communication.
Read time 1 minuteLast updated 14 hours ago

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.