예제 #1
0
 private void Game()
 {
     GameClient            = new PackClient(56636, 0);
     GameClient.OnReceive += this.GameReceive;
     GameClient.OnConnect += this.GameConnect;
     GameClient.Connect("192.168.0.3", 29000);
 }
예제 #2
0
        public void Start(string _address, int _port)
        {
            LinkClient.Connect(_address, _port);

            Heartbeat = new Timer(HeartCallBack, null, 0, 8000);
        }