private void sendMessage(String message, final InetAddress address, final int port) {
        message = "/m/" + message;
        final byte[] messageBytes = message.getBytes();
        sender = new Thread() {
            @Override
            public void run() {
                DatagramPacket packet = new DatagramPacket(messageBytes, messageBytes.length, address, port);
                try {
                    datagramSocket.send(packet);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        };
        sender.start();
    }