Photon Fusion 2.1.1

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 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.
int SocketRecvBuffer
 Size of the internal Socket receive buffer .
int SocketSendBuffer
 Size of the internal Socket send buffer .

Properties

readonly 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.
readonly int PacketSizeInBits [get]
 UDP Packet Size in Bits based on PacketSize.
readonly NetConfigSimulation Simulation [get]
 Network simulation system configuration.

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