congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Os.setsockoptTimeval
Code IndexAdd Tabnine to your IDE (free)

How to use
setsockoptTimeval
method
in
libcore.io.Os

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

origin: robovm/robovm

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: robovm/robovm

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: MobiVM/robovm

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: ibinti/bugvm

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: com.gluonhq/robovm-rt

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: com.mobidevelop.robovm/robovm-rt

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: com.bugvm/bugvm-rt

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: FlexoVM/flexovm

public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException { os.setsockoptTimeval(fd, level, option, value); }
public void setuid(int uid) throws ErrnoException { os.setuid(uid); }
origin: ibinti/bugvm

/**
 * Note write timeouts are not part of the javax.net.ssl.SSLSocket API
 */
public void setSoWriteTimeout(int writeTimeoutMilliseconds) throws SocketException {
  this.writeTimeoutMilliseconds = writeTimeoutMilliseconds;
  StructTimeval tv = StructTimeval.fromMillis(writeTimeoutMilliseconds);
  try {
    Libcore.os.setsockoptTimeval(getFileDescriptor$(), SOL_SOCKET, SO_SNDTIMEO, tv);
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsSocketException();
  }
}
origin: com.bugvm/bugvm-rt

/**
 * Note write timeouts are not part of the javax.net.ssl.SSLSocket API
 */
public void setSoWriteTimeout(int writeTimeoutMilliseconds) throws SocketException {
  this.writeTimeoutMilliseconds = writeTimeoutMilliseconds;
  StructTimeval tv = StructTimeval.fromMillis(writeTimeoutMilliseconds);
  try {
    Libcore.os.setsockoptTimeval(getFileDescriptor$(), SOL_SOCKET, SO_SNDTIMEO, tv);
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsSocketException();
  }
}
origin: MobiVM/robovm

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: ibinti/bugvm

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: com.bugvm/bugvm-rt

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: com.mobidevelop.robovm/robovm-rt

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: com.gluonhq/robovm-rt

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
origin: FlexoVM/flexovm

  int millis = (Integer) value;
  StructTimeval tv = StructTimeval.fromMillis(millis);
  Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv);
  return;
case SocketOptions.TCP_NODELAY:
libcore.ioOssetsockoptTimeval

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

  • Start an intent from android
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Best plugins for Eclipse
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