<p>In Java, is there a way to control the TTL of the IP header for packets sent on a socket? </p>

Apparently only on Multicast sockets, which have:
```
```
MulticastSocket.setTimeToLive(int ttl);
```
```