public interface ServerSocket extends Disposable
Socket instances. The accept(SocketHints) method
should preferably be called in a separate thread as it is blocking.| Modifier and Type | Method and Description |
|---|---|
Socket |
accept(SocketHints hints)
Accepts a new incoming connection from a client
Socket. |
Net.Protocol |
getProtocol() |
disposeNet.Protocol getProtocol()
Socket accept(SocketHints hints)
Socket. The
given hints will be applied to the accepted socket. Blocking, call
on a separate thread.hints - additional SocketHints applied to the accepted Socket. Input null to
use the default setting provided by the system.SocketGdxRuntimeException - in case an error ocurred