Esempio n. 1
0
        void SendData(AsyncTcpSession tcpClient)
        {
            IPacket packet = new DefaultPacket(_sendPacket.Buffer.Duplicate(), _sendPacket.EndPoint);

            tcpClient.Flush(packet);
            //future.FutureCompleted += (sender, e) =>
            //{
            //    //SendData();
            //};
        }