private void Receive()
        {
            string message = "";

            while (true)
            {
                int length = ClienSocket.Receive(buffer);
                message = Encoding.UTF8.GetString(buffer, 0, length);
                UpdateGui(message, ClienSocket);
            }
        }
 public void Send(string message)
 {
     ClienSocket.Send(Encoding.UTF8.GetBytes(message));
 }