Esempio n. 1
0
            public void Start()
            {
                System.Console.WriteLine("启动聊天客户端");

                client = new NetTCPClient();
                client.Connect("127.0.0.1", 8089);
            }
Esempio n. 2
0
    // Use this for initialization
    public void Start()
    {
        client = new NetTCPClient();
        client.Connect("101.201.235.106", 10001);
        //client.Connect("220.167.41.5", 10001);
        //client.Connect("127.0.0.1", 10001);

        player     = new Player();
        playerList = new System.Collections.ArrayList();
    }
Esempio n. 3
0
    // Use this for initialization
    public void Start()
    {
        client = new NetTCPClient();

        client.Connect("192.168.1.102", 5000);
    }