Problem with multicast socket

Ulf Soderberg ulf@soderberg.com
Sun Jan 12 21:47:00 GMT 2003


Hi,

I just compiled a test program that listens for multicast messages. I
use the MinGW version of gcj 3.2. There seems to be some problem with
the joinGroup and leaveGroup methods. The "joinGroup/leaveGroup" calls
throws an exception: 

  "java.net.SocketException: invalid length".

The program works ok with JDK 1.3.1. What's up? Is this a problem with
the MinGW version only?

/Ulf



More information about the Java mailing list