SocketChannels, Sockets,
DatagramChannels and DatagramSockets, as well as ServerSockets and
ServerSocketChannels.
AFSocketPair, AFSocket, AFSocketChannel, AFDatagramSocket, AFDatagramChannel, AFServerSocket, AFServerSocketChannel
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable SocketAddress | Returns: The local socket address, ornull.Returns the socket's local socket address, or |
| public void | setShutdownOnClose(boolean
true if enabled.Configures whether the socket should be shutdown upon |
| getLocalSocketAddress | back to summary |
|---|---|
| public @Nullable SocketAddress getLocalSocketAddress() Returns the socket's local socket address, or
| |
| setShutdownOnClose | back to summary |
|---|---|
| public void setShutdownOnClose(boolean enabled) Configures whether the socket should be shutdown upon
| |