>>Use a MulticastSocket so you get the setTimeToLive() API and just
>>send to a unicast address.
>
> Does that actually work?
oops, err, hmm, maybe not ... on investigation it turns out that there
are both IP_TTL and IP_MULTICAST_TTL, and
MulticastSocket.setTimeToLive() sets the latter, and the OP wants the
former ...
so you can't do it in Java.
Ashoka! - 26 Apr 2007 12:41 GMT
I am trying to implement the tailgating algorithm to measure internet
bandwidth.
On Apr 12, 5:21 am, Esmond Pitt <esmond.p...@nospam.bigpond.com>
wrote:
> >>Use a MulticastSocket so you get the setTimeToLive() API and just
> >>send to a unicast address.
[quoted text clipped - 7 lines]
>
> so you can't do it in Java.