This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem with multicast socket
- From: Michael Koch <konqueror at gmx dot de>
- To: <java at gcc dot gnu dot org>
- Date: Mon, 13 Jan 2003 05:46:49 +0100
- Subject: Re: Problem with multicast socket
- References: <000a01c2ba83$9caed1e0$020200c0@possio.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag, 12. Januar 2003 22:43 schrieb Ulf Soderberg:
> 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?
Dont know. But as I'm working on this stuff and never tested
multicasting myself yet can you please send me your code so I can
test it here (and probably fix it) ?
I think the multicast stuff was never really tested (whoever
implemented it). Same seems to be for other things in java.net like
IPv6 support and more.
Michael
- --
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+IkTAWSOgCCdjSDsRAu5mAJ4gp1ZgKHe+y+Ha8VDlU+y6YUvFgACfbHEX
bnx0xcnJK+qP3t3tEG9ZXis=
=zkqK
-----END PGP SIGNATURE-----