public class PlainServerSocketImpl extends PlainSocketImpl
address, fd, localport, portIP_MULTICAST_IF, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_REUSEADDR, SO_REUSEPORT, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY| Constructor and Description |
|---|
PlainServerSocketImpl() |
PlainServerSocketImpl(FileDescriptor fd) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
create(boolean isStreaming)
Creates a new unconnected socket.
|
accept, available, bind, close, connect, connect, connect, finalize, getInputStream, getOption, getOutputStream, listen, onBind, onClose, onConnect, sendUrgentData, setOption, shutdownInput, shutdownOutput, socksAccept, supportsUrgentDatagetFD$, getFileDescriptor, getInetAddress, getLocalPort, getPort, setPerformancePreferences, toStringpublic PlainServerSocketImpl()
public PlainServerSocketImpl(FileDescriptor fd)
protected void create(boolean isStreaming)
throws IOException
SocketImplisStreaming
defines whether the new socket is a streaming or a datagram socket.create in class PlainSocketImplisStreaming - defines whether the type of the new socket is streaming or
datagram.IOException - if an error occurs while creating the socket.