[kaffe] Bug Report: multiple sockets can't bind to same multicast address

Everton da Silva Marques everton at lab.ipaccess.diveo.net.br
Tue Oct 7 10:56:02 PDT 2003


Hi,

Kaffe (1.1.1 and 1.1.2) does not allow multiple multicast
sockets to bind to the same address/port pair.

I have attached a small test program which shows the issue.
The output from the test program is:

// Correct output:
/usr/local/j2sdk1.4.2_01/bin/java -classpath build mcast.MulticastListener
FIRST multicast socket bound to 224.0.0.9:1234
FIRST multicast socket joined 224.0.0.9 on interface 0.0.0.0
SECOND multicast socket bound to 224.0.0.9:1234
SECOND multicast socket joined 224.0.0.9 on interface 0.0.0.0

// Output under Kaffe 1.1.1 and 1.1.2:
/usr/local/kaffe-1.1.2/bin/java -classpath build mcast.MulticastListener
FIRST multicast socket bound to 224.0.0.9:1234
FIRST multicast socket joined 224.0.0.9 on interface 108.103.35.8
could not create SECOND multicast socket: java.net.BindException: Address already in use

Is this known?

Thanks,
Everton

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MulticastListener.java
Type: text/x-java
Size: 2346 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20031007/73cac362/MulticastListener.bin


More information about the kaffe mailing list