public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }
/** * Sets the network interface used by this socket. Any packets sent * via this socket are transmitted via the specified interface. Any * packets received by this socket will come from the specified * interface. Broadcast datagrams received on this interface will * be processed by this socket. This corresponds to Linux's SO_BINDTODEVICE. * * @hide used by GoogleTV for DHCP */ public void setNetworkInterface(NetworkInterface netInterface) throws SocketException { if (netInterface == null) { throw new NullPointerException("netInterface == null"); } try { Libcore.os.setsockoptIfreq(impl.fd, SOL_SOCKET, SO_BINDTODEVICE, netInterface.getName()); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsSocketException(); } }