Ejemplo n.º 1
0
        public string ReceiveMessage(NetworkStream stream)
        {
            byte[] arr       = new byte[BUFFER_SIZE];
            int    byteCount = stream.Read(arr, 0, BUFFER_SIZE);
            string msg       = Helper.BytesToString(arr, byteCount);

            return(msg);
        }