C# Class LiteNetLib.NtpSyncModule

Show file Open project: RevenantX/LiteNetLib Class Usage Examples

Public Methods

Method Description
GetNetworkTime ( ) : void
NtpSyncModule ( string ntpServer ) : System

Private Methods

Method Description
OnMessageReceived ( byte data, int length, int errorCode, NetEndPoint remoteEndPoint ) : void

Method Details

GetNetworkTime() public method

public GetNetworkTime ( ) : void
return void

NtpSyncModule() public method

public NtpSyncModule ( string ntpServer ) : System
ntpServer string
return System