Photon Fusion 2.1.1

Fusion.Sockets Namespace Reference

Classes

interface  INetBitWriteStream
 Interface for writing bits to a stream. More...
interface  INetPeerGroupCallbacks
 Defines the callbacks for network peer group events. More...
interface  INetSocket
 Defines the interface for network socket operations. More...
struct  NetAddress
 Represents a Network Address, which includes a IP and Port This can contains either a IPv4 or a IPv6 address. More...
struct  NetBitBuffer
 Represents a buffer for reading and writing bits. More...
struct  NetBitBufferNull
 Represents a null bit buffer for writing data. More...
struct  NetBitBufferSerializer
 Represents a serializer for reading and writing data to a NetBitBuffer. More...
struct  NetCommandAccepted
 Accepted Command, sent by the server when a remote client connection is accepted. More...
struct  NetCommandConnect
 Connect Command used to signal a remote server that a client is trying to connect to it. More...
struct  NetCommandDisconnect
 Disconnect Command, it can be used by either side of the connection. More...
struct  NetCommandHeader
 Network Command Header Describe its type and usual settings for all commands. More...
struct  NetCommandRefused
 Refuse Command, sent by the server when the connection was refused. This happens when the server has reached its max connection capacity. More...
struct  NetCommandRejoin
 Rejoin Command, used to inform clients which Session to re-join. More...
struct  NetConfig
 General configuration used to drive the behavior of the Socket library. More...
struct  NetConfigNotify
 Represents the configuration for network notifications. More...
struct  NetConfigSimulation
 Represents the configuration for network simulation. More...
struct  NetConfigSimulationOscillator
 Represents an oscillator configuration for network simulation. More...
struct  NetConnection
 Network connection. More...
struct  NetConnectionId
 Represents a network connection ID. More...
struct  NetConnectionMap
 Represents a network connection map. More...
struct  NetNotifyDataInfo
 A struct representing information about NotifyData payload. More...
struct  NetPeer
 Network Peer. More...
struct  NetPeerGroup
 Network Peer Group. More...
struct  NetSocket
 Represents a network socket with a handle and a native socket. More...
struct  ReliableKey
 Represents a reliable key structure used in the Fusion.Sockets namespace. More...

Enumerations

enum  NetCommands : byte
 Describe the Type of a Command Packet.
enum  NetConnectFailedReason : byte
 The reason a connection with a remote server has failed. More...
enum  NetConnectionStatus
 Represents the status of a network connection. More...
enum  NetDisconnectReason : byte
 Disconnect Reason Flag. More...
enum  NetPacketType : byte
 Describe the type of Networked Packet.
enum  OnConnectionRequestReply
 Represents the possible replies to a connection request. More...

Enumeration Type Documentation

◆ NetConnectFailedReason

The reason a connection with a remote server has failed.

Enumerator
Timeout 

Server is not responding.

ServerFull 

Server has accepted the max allowed Players.

ServerRefused 

Server refused the connection.

◆ NetConnectionStatus

Represents the status of a network connection.

Enumerator
Created 

The connection has been created.

Connecting 

The connection is in the process of connecting.

Connected 

The connection is established.

Disconnected 

The connection has been disconnected.

Shutdown 

The connection has been shut down.

◆ NetDisconnectReason

enum NetDisconnectReason : byte

Disconnect Reason Flag.

Disconnect Reason Flag

Enumerator
Unknown 

The reason for disconnection is unknown.

Timeout 

The connection timed out.

Requested 

The disconnection was requested.

SequenceOutOfBounds 

The sequence is out of bounds.

SendWindowFull 

The send window is full.

ByRemote 

The disconnection was initiated by the remote party.

ProtocolError 

Error in protocol.

◆ OnConnectionRequestReply

Represents the possible replies to a connection request.

Enumerator
Ok 

The connection request is accepted.

Refuse 

The connection request is refused.

Waiting 

The connection request is waiting for a decision.