2003-01-16 Michael Koch <konqueror@gmx.de>
* java/net/MulticastSocket.java (setInterface): Reindented. From-SVN: r61379
This commit is contained in:
parent
64510a4ff2
commit
676f46d083
2 changed files with 10 additions and 5 deletions
|
@ -161,15 +161,15 @@ public class MulticastSocket extends DatagramSocket
|
|||
return impl.getTimeToLive();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the interface to use for sending multicast packets.
|
||||
*
|
||||
/**
|
||||
* Sets the interface to use for sending multicast packets.
|
||||
*
|
||||
* @param addr The new interface to use.
|
||||
*
|
||||
*
|
||||
* @exception SocketException If an error occurs.
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
*/
|
||||
public void setInterface(InetAddress addr) throws SocketException
|
||||
{
|
||||
impl.setOption(SocketOptions.IP_MULTICAST_IF, addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue