Exemplo n.º 1
0
        public void SingleStep()
        {
            EndPoint sender = new IPEndPoint(0, 0);

            //il transport.Recv fa il dequeue della coda dei pacchetti
            byte[] data = transport.Recv(256, ref sender);
            try
            {
                if (data == null)
                {
                    return;
                }
            }
            catch
            {
            }

            Send(data, sender);
        }