Networking
Learn about the multiple protocols that Relay supports for multiplayer communication.
読み終わるまでの所要時間 1 分最終更新 5時間前
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 UAS authentication and HTTPS encryption.
WebSocket connections allow for multiplayer connectivity on browsers using WebGL.
Page | Description |
|---|---|
| Ports and protocols | Required ports and protocols for using the Relay service. |
| Location and regions | Explore the available Relay regions, and learn how to select the best one for your players. |
| Quality of service | Use Quality of Service measurements to automatically select the best Relay region for your players. |
| Scaling | Learn how Relay automatically scales to meet user demand without additional cost. |
| DTLS encryption | Learn how Datagram Transport Layer Security encryption protects Relay communication. |
| Advanced configuration | Interact with the underlying Relay API for more advanced configurations and setups. |