Expand description

Naia Socket Shared

Common data types shared between Naia Server Socket & Naia Client Socket

Modules

Logic shared between client & server sockets related to simulating network conditions

Structs

Represents a specific moment in time

Contains configuration required to initialize a LinkConditioner

Contains an underlying byte payload, and provides a Cursor into that payload

Container for cross-platform Random methods

Contains Config properties which will be shared by Server and Client sockets

A queue for items marked by time, will only ever pop items from the queue if the time

A Timer with a given duration after which it will enter into a “Ringing” state. The Timer can be reset at an given time, or manually set to start “Ringing” again.

A Timestamp for a moment in time that can be read/written to/from a byte stream

Functions

Helper method to find local IP address, if possible