With regular DatagramSocket my code relays an image perfectly fine, but
with Ice4J the received packet data length is 1500 instead of the expected
25000.... So it isn't the receive buffer array I am using in my code. It
seems to be primarily ice4j or my setup thereof.
The small amount of image seems correct just truncated, so communication is
working. Currently the connection is all behind a router.
I posted more readable code here:
Let me know if any more information is necessary.