MLAPI API Reference
MLAPI API Reference
MLAPI.Transports
IUDPTransport Interface
IUDPTransport Methods
AddChannel Method
Connect Method
DisconnectClient Method
DisconnectFromServer Method
GetCurrentRTT Method
GetNetworkTimestamp Method
GetRemoteDelayTimeMS Method
GetSettings Method
PollReceive Method
QueueMessageForSending Method
RegisterServerListenSocket Method
SendQueue Method
Shutdown Method
IUDPTransport
GetNetworkTimestamp Method
[This is preliminary documentation and is subject to change.]
Gets a timestamp to be used for calculating latency
Namespace:
MLAPI.Transports
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
int
GetNetworkTimestamp
()
Request Example
View Source
Return Value
Type:
Int32
The timestamp
See Also
Reference
IUDPTransport Interface
MLAPI.Transports Namespace