Skip to main content

Unity.Networking.Transport.NetworkParameterConstants

Default NetworkParameter Constants.

Inherited Members#

ValueType.Equals(Object)

ValueType.GetHashCode()

ValueType.ToString()

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct NetworkParameterConstants

ConnectTimeoutMS#

The default connection timeout value. This value can be overridden using the NetworkConfigParameter

Declaration#

public const int ConnectTimeoutMS = 1000

Field Value#

TypeDescription
System.Int32

DisconnectTimeoutMS#

The default disconnect timeout attempts value. This value can be overridden using the NetworkConfigParameter

Declaration#

public const int DisconnectTimeoutMS = 30000

Field Value#

TypeDescription
System.Int32

DriverDataStreamSize#

The default size of the DataStreamWriter. This value can be overridden using the NetworkConfigParameter.

Declaration#

public const int DriverDataStreamSize = 65536

Field Value#

TypeDescription
System.Int32

HeartbeatTimeoutMS#

The default inactivity timeout after which a heartbeat is sent. This This value can be overridden using the NetworkConfigParameter

Declaration#

public const int HeartbeatTimeoutMS = 500

Field Value#

TypeDescription
System.Int32

InitialEventQueueSize#

The default size of the event queue.

Declaration#

public const int InitialEventQueueSize = 100

Field Value#

TypeDescription
System.Int32

InvalidConnectionId#

The invalid connection id

Declaration#

public const int InvalidConnectionId = -1

Field Value#

TypeDescription
System.Int32

MaxConnectAttempts#

The default max connection attempts value. This value can be overridden using the NetworkConfigParameter

Declaration#

public const int MaxConnectAttempts = 60

Field Value#

TypeDescription
System.Int32

MTU#

The max size of any packet that can be sent

Declaration#

public const int MTU = 1400

Field Value#

TypeDescription
System.Int32