Example #1
0
 public void Init()
 {
     tcpClient = new LocalTCPConnection(false, 2001);
 }
Example #2
0
        /**
         * SendCallback
         */
        public static void SendCallback(IAsyncResult AsyncResult)
        {
            LocalTCPConnection TCPs = (LocalTCPConnection)AsyncResult.AsyncState;

            TCPs.OnSend(AsyncResult);
        }
Example #3
0
 public void Init()
 {
     tcpClient = new LocalTCPConnection(false, 2001);
 }
Example #4
0
        /**
         * ReceiveCallback
         */
        public static void ReceiveCallback(IAsyncResult AsyncResult)
        {
            LocalTCPConnection TCPs = (LocalTCPConnection)AsyncResult.AsyncState;

            TCPs.OnReceive(AsyncResult);
        }
Example #5
0
        /**
         * ConnectCallback
         */
        public static void ConnectCallback(IAsyncResult AsyncResult)
        {
            LocalTCPConnection Client = (LocalTCPConnection)AsyncResult.AsyncState;

            Client.OnConnect(AsyncResult);
        }
Example #6
0
        /**
         * AcceptCallback
         */
        public static void AcceptCallback(IAsyncResult AsyncResult)
        {
            LocalTCPConnection Server = (LocalTCPConnection)AsyncResult.AsyncState;

            Server.OnAccept(AsyncResult);
        }