Answer the default length of the queue for pending connections. When
the queue fills, new clients attempting to connect fail until the server
is send #accept to accept a connection from the queue.
port: anInteger
Answer a new ServerSocket serving on any local address, on the given
port, with a pending connections queue of the default length.
port: anInteger bindTo: ipAddress
Answer a new ServerSocket serving on the given address and port,
with a pending connections queue of the default length.
port: anInteger queueSize: backlog
Answer a new ServerSocket serving on any local address, on the given
port, with a pending connections queue of the given length.
Answer a new ServerSocket serving on the given address and port,
and with a pending connections queue of the given length.
queueSize: backlog
Answer a new ServerSocket serving on any local address and port, with a
pending connections queue of the given length.
queueSize: backlog bindTo: ipAddress
Answer a new ServerSocket serving on the given local address,
and on any port, with a pending connections queue of the given length.
6.13.2 TCP.ServerSocket: accessing
accept
Accept a new connection and create a new instance of Socket if there is
one, else answer nil.
accept: socketClass
Accept a new connection and create a new instance of socketClass if
there is one, else answer nil. This is usually needed only to create
DatagramSockets.
address
Answer the local address
port
Answer the local port (the port that the passive socket is listening on).
primAccept: socketClass
Accept a new connection and create a new instance of Socket if there is
one, else fail.
waitForConnection
Wait for a connection to be available, and suspend the currently
executing process in the meanwhile.