Exemple #1
0
        internal NetworkPacket ReceiveMessage()
        {
            var m = NetworkPacket.CreateFromIncoming(this, incomingMessageHeader, incomingReadBuffer);

            incomingReadBuffer = new byte[4];
            State = ReceiveState.Header;
            return(m);
        }