Example #1
0
        public static NetworkLogin getInstance()
        {
            bool flag = NetworkLogin._instance == null;

            if (flag)
            {
                NetworkLogin._instance = new NetworkLogin();
            }
            return(NetworkLogin._instance);
        }
Example #2
0
 private void BeginAcceptTcpClient(IAsyncResult result)
 {
     NetworkLogin.accept(NetworkLogin._clientLoginListener.EndAcceptTcpClient(result));
     NetworkLogin._clientLoginListener.BeginAcceptTcpClient(new AsyncCallback(this.BeginAcceptTcpClient), null);
 }