@Override
    public ByteBuffer read()
    {
        checkClosed();
        try {
            DatagramPacket packet = new DatagramPacket( buffer, buffer.length );
            sock.receive(packet);
            
            // Wrap it in a ByteBuffer for the caller
            return ByteBuffer.wrap( buffer, 0, packet.getLength() ); 
        } catch( IOException e ) {
            if( !connected.get() ) {
                // Nothing to see here... just move along
                return null;
            }        
            throw new ConnectorException( "Error reading from connection to:" + remoteAddress, e );    
        }                
    }
This always returns false since the simple DatagramSocket usage
 cannot be run in a non-blocking way.
jme3-networking/src/main/java/com/jme3/network/kernel/udp/UdpConnector.java