serverIsRunning

bool
serverIsRunning
(
bool useTCP
,
string socketFile
,
ushort port
)

Parameters

useTCP
Type: bool

true to check a TCP port, false for UNIX domain socket

socketFile
Type: string

the file name for the UNIX domain socket

port
Type: ushort

the TCP port

Return Value

Type: bool

true if a server instance is running

Meta