1 |
/* MulticastSocket.java -- Class for using multicast sockets |
/* MulticastSocket.java -- Class for using multicast sockets |
2 |
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 |
3 |
|
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
170 |
* |
* |
171 |
* @since 1.4 |
* @since 1.4 |
172 |
*/ |
*/ |
173 |
public void setInterface(InetAddress inf) throws SocketException |
public void setInterface(InetAddress addr) throws SocketException |
174 |
{ |
{ |
175 |
impl.setOption(SocketOptions.IP_MULTICAST_IF, inf); |
impl.setOption(SocketOptions.IP_MULTICAST_IF, addr); |
176 |
} |
} |
177 |
|
|
178 |
/** |
/** |