Description
The rt_stub_stop function is used to stop the Stub service. This function will stop the background thread and close all connections.
Syntax:
int rt_stub_stop();
Parameters:
None.
Return Value:
Returns 0 on success; returns a non-zero error code on failure.