Searched defs:netInterface (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java143 * @param netInterface
151 NetworkInterface netInterface) throws IOException;
169 * @param netInterface
176 NetworkInterface netInterface) throws IOException;
150 joinGroup(SocketAddress addr, NetworkInterface netInterface) argument
175 leaveGroup(SocketAddress addr, NetworkInterface netInterface) argument
H A DMulticastSocket.java159 * @param netInterface
167 public void joinGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { argument
168 checkJoinOrLeave(groupAddress, netInterface);
169 impl.joinGroup(groupAddress, netInterface);
192 * @param netInterface
200 public void leaveGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { argument
201 checkJoinOrLeave(groupAddress, netInterface);
202 impl.leaveGroup(groupAddress, netInterface);
205 private void checkJoinOrLeave(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { argument
211 if (netInterface !
[all...]
H A DDatagramSocket.java296 public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { argument
297 if (netInterface == null) {
298 throw new NullPointerException("netInterface == null");
301 Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName());
H A DPlainDatagramSocketImpl.java130 public void joinGroup(SocketAddress addr, NetworkInterface netInterface) throws IOException { argument
133 setOption(IoBridge.JAVA_MCAST_JOIN_GROUP, makeGroupReq(groupAddr, netInterface));
143 public void leaveGroup(SocketAddress addr, NetworkInterface netInterface) throws IOException { argument
146 setOption(IoBridge.JAVA_MCAST_LEAVE_GROUP, makeGroupReq(groupAddr, netInterface));

Completed in 783 milliseconds