Codota Logo
Os.setsockoptTimeval
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now