java.net.MulticastSocket has two new APIs introduced in jdk1.2 - setTimeToLive()/getTimeToLive(). But the only API for send()
is still using "byte" as the type for ttl. It would be nice if
we add a new API for send() which takes "int" as the type for ttl.
is still using "byte" as the type for ttl. It would be nice if
we add a new API for send() which takes "int" as the type for ttl.
- duplicates
-
JDK-4151833 java.net.MulticastSocket.send ttl byte argument needs to be an int
- Closed
- relates to
-
JDK-8332181 Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
- Resolved