Example usage for Java java.net SocketOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SO_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). |
int | SO_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. |
int | SO_SNDBUF Set a hint the size of the underlying buffers used by the platform for outgoing network I/O. |
int | SO_RCVBUF Set a hint the size of the underlying buffers used by the platform for incoming network I/O. |