Esempio n. 1
0
        /**
         * Send the dungeon message through the socket to the server
         * @param Message the message to send
         */
        private void SendDungeonMessage(String Message)
        {
            DungeonCommand dungMsg = new DungeonCommand();

            dungMsg.command = Message;
            MemoryStream outStream = dungMsg.WriteData(Salt);

            try
            {
                clientSocket.Send(outStream.ToArray());
            }
            catch { }
        }