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:
> Gordon Beaton wrote:
> > On Wed, 11 Apr 2007 09:09:12 GMT, Esmond Pitt wrote:
>
> >>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.
|