I just discovered that there is two different native functions for
accessing socket option time to live in
java.net.PlainDatagramSocketImpl: setTTL(), getTTL(), setTimeToLive()
and getTimeToLive(). The only difference seem to be that the *TTL are
working with jbyte, and *TimeToLive are using jint.
Is this a correct observation, or is there something I have missed.
IS there a reason for JDK 1.2 to use jint instead of JDK 1.1's jbyte?
If this is correct, I have a patch which implements the second using
the first.
--
##> Petter Reinholdtsen <## | [EMAIL PROTECTED]