TNet 3  3.0.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
ImproveLatency.cs File Reference

Classes

class  ImproveLatency
 This simple example script shows how to improve latency in a scene by disabling the Nagle's buffering algorithm. If you run Example 3 on a mobile device using only TCP and without this script, other players may notice that the mobile player is "lagging". This is because by default the buffering algorithm is on, and seems to be overly aggressive on some devices. For games that require quick response times, turning on "improveLatency" flag will improve performance. http://en.wikipedia.org/wiki/Nagle's_algorithm More...