scds_fm_tcp_disconnect - terminate a TCP connection to an application
cc [flags…] –I /usr/cluster/include file –L /usr/cluster/lib –l dsdev#include <rgm/libdsdev.h> scha_err_t scds_fm_tcp_disconnect(scds_handle_t handle, int sock, time_t timeout);
The scds_fm_tcp_disconnect() function terminates a TCP connection with a process being monitored.
The following parameters are supported:
The handle returned by scds_initialize(3HA).
The socket number returned by a previous call to scds_fm_tcp_connect(3HA).
Timeout value in seconds.
The following exit values are returned:
The function succeeded.
The function failed.
Indicates that the function succeeded.
Indicates that the function timed out.
Indicate that the function failed. See scha_calls(3HA) for the meaning of failure codes.
Include file
Library
See attributes (5) for descriptions of the following attributes:
|
scds_fm_net_disconnect(3HA), scds_fm_tcp_connect(3HA), scds_initialize(3HA), scha_calls(3HA), attributes (5)