Example #1
0
        public void disConnect()
        {
            state_ = NET_STATE.DISCONNECT;
            PK_C_REQ_EXIT packet = new PK_C_REQ_EXIT();

            this.sendPacket(packet);
        }
Example #2
0
        public void disconnect()
        {
            PK_C_REQ_EXIT exitPacket = new PK_C_REQ_EXIT();

            network.sendPacket(exitPacket);

            network.close();
        }