Exemple #1
0
        public void BeginReceive(ReceivedDataCallback callback)
        {
            Receive += callback;
            foreach (var msg in UnreadMessages.DequeueAll())
            {
                NetworkEventLoop.Receive(msg, this);
            }

            BeginReceiveInternal();
        }