Class ConnectionSettings
Settings that enable fine-tuning of the server connection.
public class ConnectionSettings
- Inheritance
-
ConnectionSettings
Constructors
ConnectionSettings()
public ConnectionSettings()
Fields
DEFAULT_MTU
public const int DEFAULT_MTU = 1280
Field Value
Ping
Settings related to time syncing (ping calculation).
public ConnectionSettings.PingSettings Ping
Field Value
UseDebugStreams
public bool UseDebugStreams
Field Value
Properties
Default
public static ConnectionSettings Default { get; }
Property Value
DisconnectTimeout
Amount of time allowed to pass without receiving data from server before disconnecting.
public TimeSpan DisconnectTimeout { get; set; }
Property Value
DisconnectTimeoutMilliseconds
Amount of time allowed to pass without receiving data from server before disconnecting.
public float DisconnectTimeoutMilliseconds { get; set; }
Property Value
Mtu
public int Mtu { get; set; }