src/main/java/robocup/server/connection/UDPConnection.java
/**
     * @return the received packet
     * @throws IOException if no packet could be received before timeout
     */
@return the received packet
@throws IOException if no packet could be received before timeout
@return the received packet @throws IOException if no packet could be received before timeout
private DatagramPacket receivePacket() throws IOException {
        DatagramPacket packet = new DatagramPacket(new byte[replySize], replySize);
        socket.receive(packet);
        return packet;
    }
private DatagramPacket receivePacket ( ) throws IOException { DatagramPacket packet = new DatagramPacket ( new byte [ replySize ] , replySize ) ; socket . receive ( packet ) ; return packet ; }
@return the received packet
 @throws IOException if no packet could be received before timeout
@return the received packet @throws IOException if no packet could be received before timeout