Skip Navigation

Shutdown command

The shutdown command (
s
) instructs the service to stop listening for incoming connections and exit.
In the
Cylance
TcpService application, the shutdown command is disabled by default. To enable it, add the key-value pair
ShutdownCommand=true
to the Service section of the
Cylance
TcpService.ini configuration file or run
Cylance
TcpService with the
-s
or
--shutdown
flag.
The shutdown command is a single byte, "
s
". There are no other required fields and no response is returned. If the shutdown command is disabled via the
Cylance
TcpService.ini configuration file, the command is simply ignored.