Documentation

Multiplayer Services SDK

All Services

Multiplayer Services SDK

Networking

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

Note
WebSocket is only supported on UTP 2.0.0-pre.3+.
The Multiplayer Services SDK uses the underlying Relay service to allow players to communicate over several different protocols, including UDP, datagram TLS (DTLS), and secure WebSocket (WSS). After allocation 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 the Unity Authentication service and HTTPS encryption.
WebSocket connections allow for multiplayer connectivity on browsers using WebGL.