Tabnine Logo
Os.setsockoptIfreq
Code IndexAdd Tabnine to your IDE (free)

How to use
setsockoptIfreq
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.setsockoptIfreq (Showing top 14 results out of 315)

origin: robovm/robovm

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); }
origin: robovm/robovm

/**
 * 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();
  }
}
origin: com.gluonhq/robovm-rt

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); }
origin: MobiVM/robovm

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); }
origin: FlexoVM/flexovm

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); }
origin: ibinti/bugvm

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); }
origin: com.mobidevelop.robovm/robovm-rt

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); }
origin: com.bugvm/bugvm-rt

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); }
origin: MobiVM/robovm

/**
 * 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();
  }
}
origin: ibinti/bugvm

/**
 * 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();
  }
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * 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();
  }
}
origin: com.gluonhq/robovm-rt

/**
 * 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();
  }
}
origin: com.bugvm/bugvm-rt

/**
 * 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();
  }
}
origin: FlexoVM/flexovm

/**
 * 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();
  }
}
libcore.ioOssetsockoptIfreq

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Notification (javax.management)
  • JCheckBox (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now