Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 3.3 3/13 |
scds_get_current_method_name(3HA)
scds_get_resource_group_name(3HA)
scds_get_resource_type_name(3HA)
scds_get_rg_hostnames_zone(3HA)
scha_cluster_getlogfacility(3HA)
scha_cluster_getnodename_zone(3HA)
scha_resourcegroup_get_zone(3HA)
scha_resourcegroup_open_zone(3HA)
scha_resource_setstatus_zone(3HA)
scha_resourcetype_get_zone(3HA)
- 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_net_disconnect(scds_handle_t handle, scds_socket_t *socklist, int count, time_t timeout);
The scds_fm_net_disconnect() function terminates one or more TCP connections to a process that is being monitored.
An attempt is made to close all valid socket connections in the socklist array within the specified timeout interval. On return, each member of socklist contains the value SCDS_FMSOCK_NA.
The following parameters are supported:
The handle that is returned by scds_initialize(3HA).
The socket list that is returned by scds_fm_net_connect(3HA). This argument is an input/output argument.
The number of members in the socklist array. Set this parameter to SCDS_MAX_IPADDR_TYPES.
The timeout value in seconds. Each socket gets the same time period to disconnect before it is timed out. As these time intervals proceed in parallel, this value is effectively the maximum time that the function takes to execute.
The scds_fm_net_disconnect() function returns the following values:
The function succeeded.
The function was called with invalid paramaters.
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_connect(3HA), scds_fm_tcp_disconnect(3HA), scds_initialize(3HA), scha_calls(3HA), attributes(5)