%DESTROY_SERVER_CONNECTION

Close an xfServer connection

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
 
handle = %DESTROY_SERVER_CONNECTION(handle)

Return value

handle

The memory handle of the connection being closed. (D_HANDLE)

Arguments

handle

The memory handle of the connection being closed. (D_HANDLE)

Discussion

%DESTROY_SERVER_CONNECTION offers more control in disconnecting an xfServer connection by explicitly closing the connection. Any open channels on an xfServer connection will also be purged when %DESTROY_SERVER_CONNECTION is called.

This function is only available if -qrntcompat is 12010100 or higher.

See also

%CREATE_SERVER_CONNECTION routine

Examples

See %CREATE_SERVER_CONNECTION for an example.