Java java.net SocketOptions fields, constructors, methods, implement or subclass

Example usage for Java java.net SocketOptions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.net SocketOptions.

The text is from its open source code.

Field

intSO_BINDADDR
Fetch the local address binding of a socket (this option cannot be "set" only "gotten", since sockets are bound at creation time, and so the locally bound address cannot be changed).
intSO_TIMEOUT
Set a timeout on blocking Socket operations:
 ServerSocket.accept(); SocketInputStream.read(); DatagramSocket.receive(); 

The option must be set prior to entering a blocking operation to take effect.

intSO_SNDBUF
Set a hint the size of the underlying buffers used by the platform for outgoing network I/O.
intSO_RCVBUF
Set a hint the size of the underlying buffers used by the platform for incoming network I/O.