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); }
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
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); }
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); }
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); }
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); }
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); }
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); }
/** * 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(); } }
/** * 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(); } }
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY:
int millis = (Integer) value; StructTimeval tv = StructTimeval.fromMillis(millis); Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); return; case SocketOptions.TCP_NODELAY: