BaseServer.setup4

An abstract method that must be implemented in a derived class and that is necessary for the server to process incoming data.

class BaseServer(uint BUFFER_SIZE, uint MAXIMAL_NUMBER_OF_CONNECTIONS)
final
void
setup4
(
string address
,
ushort port
,
int backlog = 10
,
bool immediate = false
)

Parameters

address string

IPv4 address as string.

port ushort

Unsigned port number.

backlog int

An integer that means the number of established connections that can be processed at any time.

immediate bool

The logical value showing whether the server will close the connection after processing the request from the client.

Meta