src/main/java/robocup/server/connection/UDPConnection.java
/**
     * Send a message to the server.
     *
     * @param message
     * @throws IOException if the message could not be sent
     */
Send a message to the server.
@param message
@throws IOException if the message could not be sent
Send a message to the server . @param message @throws IOException if the message could not be sent
public void send(String message) throws IOException {
        byte[] bytes = message.getBytes();
        DatagramPacket packet =
                new DatagramPacket(bytes, bytes.length, targetHostAddress,
                        targetPort);
        socket.send(packet);
        log.info("Sent: " + message);
    }
public void send ( String message ) throws IOException { byte [ ] bytes = message . getBytes ( ) ; DatagramPacket packet = new DatagramPacket ( bytes , bytes . length , targetHostAddress , targetPort ) ; socket . send ( packet ) ; log . info ( "Sent: " + message ) ; }
Send a message to the server.
Send a message to the server .