Socket instances. The accept(SocketHints)
method should preferably be called in a separate thread as it is blocking.
| Modifier and Type | Method and Description |
|---|---|
| public Socket | Returns: the acceptedSocketadditional hints)SocketHints applied to the accepted Socket. Input null to use the default setting
provided by the system.Accepts a new incoming connection from a client |
| public Net. |
| accept | back to summary |
|---|---|
| public Socket accept(SocketHints hints) Accepts a new incoming connection from a client
| |
| getProtocol | back to summary |
|---|---|
| public Net. | |