public static NetworkLogin getInstance() { bool flag = NetworkLogin._instance == null; if (flag) { NetworkLogin._instance = new NetworkLogin(); } return(NetworkLogin._instance); }
private void BeginAcceptTcpClient(IAsyncResult result) { NetworkLogin.accept(NetworkLogin._clientLoginListener.EndAcceptTcpClient(result)); NetworkLogin._clientLoginListener.BeginAcceptTcpClient(new AsyncCallback(this.BeginAcceptTcpClient), null); }