Photon Fusion 1.1.9

Public Attributes | Properties | List of all members
NetConfig Struct Reference

General configuration used to drive the behavior of the Socket library. More...

Public Attributes

NetAddress Address
 Network Address used to bind the internal Socket.
 
int ConnectAttempts
 Number of Connection Attempts tried by the peer before cancel the connection.
 
double ConnectInterval
 Interval in Seconds between attempts to connect to a remote server.
 
double ConnectionDefaultRtt
 Initial RTT.
 
int ConnectionGroups
 Number of Connection Groups supported by the local instance.
 
double ConnectionPingInterval
 Interval in Seconds between ping being sent to a remote end.
 
int ConnectionSendBuffers
 Pre-allocated number of data buffers used to send data.
 
double ConnectionShutdownTime
 Timeout in Seconds to allow a disconnected Connection to be released from the Group Mapping.
 
double ConnectionTimeout
 Connection Timeout in seconds.
 
int DefaultMtu
 default Maximum Transmission Unit
 
int MaxConnections
 Max Number of Connections supported by the local instance.
 
NetConfigNotify Notify
 Package acknowledgment system configuration.
 
double OperationExpireTime
 Max Allowed time for the Send and Receive operations, in milliseconds.
 
int PacketSize
 UDP Packet Size in Bytes.
 
NetConfigSimulation Simulation
 Network simulation system configuration.
 
int SocketRecvBuffer
 Size of the internal Socket receive buffer
 
int SocketSendBuffer
 Size of the internal Socket send buffer
 

Properties

int ConnectionsPerGroup [get]
 Max number of Connection per Group based on the ConnectionGroups and MaxConnections
 
static NetConfig Defaults [get]
 Builds a NetConfig with the default values.
 
int PacketSizeInBits [get]
 UDP Packet Size in Bits based on PacketSize
 

Detailed Description

General configuration used to drive the behavior of the Socket library.

Member Data Documentation

◆ ConnectionShutdownTime

double ConnectionShutdownTime

Timeout in Seconds to allow a disconnected Connection to be released from the Group Mapping.

NetPeerGroup.UpdateShutdown