© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. Kelly, K. KumarUnity Networking Fundamentalshttps://doi.org/10.1007/978-1-4842-7358-6_4

4. TCP Connections

Sloan Kelly1   and Khagendra Kumar2
(1)
Niagara Falls, ON, Canada
(2)
Katihar, Bihar, India
 

In Chapter 3, you used the UnityWebRequest class as a client to access data stored on a website (the server). The UnityWebRequest class handled all the underlying communication with the web server. This included the use of HTTP (HyperText Transport Protocol) to format messages and deconstruct the data returned from the server.

HTTP is quite a heavy protocol and is not recommended for games beyond its use at fetching leaderboards, or for updating a player’s save ...

Get Unity Networking Fundamentals: Creating Multiplayer Games with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.