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

  • Making http post requests using okhttp
  • getSystemService (Context)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Notification (javax.management)
  • JFileChooser (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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