%HTTP_SERVER_DELETE

Free memory for the HTTP or HTTPS server

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
status = %HTTP_SERVER_DELETE(instance_id)

Return value

status

Always returns 0.

Arguments

instance_id

The ID of the created instance of a Synergy HTTP or HTTPS server, returned by %HTTP_SERVER_CREATE. (n)

Discussion

%HTTP_SERVER_DELETE deletes the HTTP or HTTPS server object, releases all memory associated with it, and closes the socket on which the server is listening.

The instance_id is returned by %HTTP_SERVER_CREATE.

Examples

See %HTTP_SERVER_CREATE Examples.