Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 12:39:59 +0200
From:      "Ari Suutari" <ari@suutari.iki.fi>
To:        <freebsd-java@freebsd.org>
Subject:   Linux jdk & multicast
Message-ID:  <002e01c065ba$3598c260$0e05a8c0@intranet.syncrontech.com>

next in thread | raw e-mail | index | archive | help
Hi,

I just wrote a small multicast application, that works OK with
FreeBSD beta 1.2.2 JDK. However, I have some production sites,
which are running linux jdk 1.2.2 & FreeBSD 3.x-STABLE.

Multicasting doesn't seem to work in this case very well, since
linux jdk doesn't issue necessary setsockopt(.... SO_REUSEPORT....)
to allow multiple applications to bind to same multicast port.

What would be my best option to get this working ?

1) compile native jdk1.2.2 beta (and maybe shujit) on 3.x-STABLE
2) as 1 but upgrade to FreeBSD 4.2
3) hack linuxlator so that SO_REUSEADDR -> SO_REUSEADDR + SO_REUSEPORT

In long term, I think that option #2 would be a good choice.
In short term, if native jdk1.2.2 beta would work OK on 3.x
I would probably use that, otherwise I think that I'll hack
the kernel.

Any opinions anyone ?

      Ari S.
--
Ari Suutari <ari@suutari.iki.fi>
Lemi, Finland




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c065ba$3598c260$0e05a8c0>