Utility class used to Decode a base64 string
Utility class used to compute HMACSHA256 hash
The network pipeline stage collection class
Utility class that provides the ability to generate a SHA256 Hash
Default NetworkInterface implementation based on Unity's internal Baselib UDP sockets this is ensure to work on all platforms except for Unity's WebGL.
Network Parameters used to set queue and payload sizes for BaselibNetworkInterface
DataStreamReader class is the counterpart of the
DataStreamWriter class and can be be used to deserialize data which
was prepared with it.
The fragmentation stage's internal context.
The inbound recv buffer
The inbound send buffer
The ipc network interface
Used to provide Huffman compression when using packed DataStream functions
The NetworkConfigParameter is used to set specific parameters that the driver uses.
The NetworkDataStreamParameter is used to set a fixed data stream size.
The NetworkDriver is an implementation of Virtual Connections over any transport.
The Concurrent struct is used to create an Concurrent instance of the NetworkDriver.
Describes a raw network endpoint (typically IP and port number).
Represents an event on a connection.
A handle to data that's going to be sent on an interface.
The NetworkPacketReceiver is an interface for handling received packets, needed by the INetworkInterface It either can be used in two main scenarios:
- Your API requires a pointer to memory that you own. Then you should use AllocateMemory(ref Int32), write to the memory and then AppendPacket(IntPtr, ref NetworkInterfaceEndPoint, Int32, NetworkPacketReceiver.AppendPacketMode) with NoCopyNeeded. You don't need to deallocate the memory
- Your API gives you a pointer that you don't own. In this case you should use AppendPacket(IntPtr, ref NetworkInterfaceEndPoint, Int32, NetworkPacketReceiver.AppendPacketMode) with None (default)
Default NetworkParameter Constants.
The network pipeline
The network pipeline context
The network pipeline params
The network pipeline stage
The network send interface used to pass around function pointers to the actual INetworkInterface
The network send queue handle
The NullPipelineStage is the default pipeline stage and used to send packets unreliably
The ReliableSequencedPipelineStage is used to send packets reliably and retain the order in which they are sent. This PipelineStage has a hardcoded WindowSize of 32 inflight packets and will drop packets if its unable to track them.
The SimulatorPipelineStage could be added on either the client or server to simulate bad network conditions. It's best to add it as the last stage in the pipeline, then it will either drop the packet or add a delay right before it would go on the wire.
The simulator pipeline stage in send
Represents a wrapper around burst compatible function pointers in a portable way
The UnreliableSequencedPipelineStage is used to send unreliable packets in order.
Interface for implementing a low-level networking interface see BaselibNetworkInterface as an example
The interface for NetworkParameters
The network pipeline stage interface
The different types of events that can be returned for a connection.
Indicates the protocol family of the address (analogous of AF_* in sockets API).
Permits choosing between two ways of appending packets: via a copy or not.
The requests enum
The send handle flags enum
The initialize connection delegate
The receive delegate
The send delegate
Will be invoked from the lower level library if sending a message was aborted.
Invoked from the lower level library at the beginning of the message sending routine.
Invoked from the lower level library at the end of the message sending routine.