コード例 #1
0
ファイル: ClientConfig.cs プロジェクト: ArunPrakashG/Zync
 internal ClientConfig(TcpClient _clientSocket)
 {
     ClientConnection = _clientSocket;
     Uid                        = string.Empty;
     IpAddress                  = string.Empty;
     CurrentState               = Enums.CLIENT_STATE.CONNECTING;
     ClientEndpoint             = null;
     ShouldDisconnectConnection = false;
 }
コード例 #2
0
ファイル: Connection.cs プロジェクト: ArunPrakashG/Zync
 private void SetState(Enums.CLIENT_STATE state) => Config.CurrentState = state;