The functions in this section enable TCP-based monitoring. Typically, a fault monitor uses these functions to establish a simple socket connection to a service, read and write data to the service to ascertain its status, and then disconnect from the service.
scds_fm_tcp_connect(3HA) – establish a TCP connection to a process that uses IPv4 addressing only.
scds_fm_net_connect(3HA) – establish a TCP connection to a process that uses either IPv4 or IPv6 addressing.
scds_fm_tcp_read(3HA) – use a TCP connection to read data from the process that is being monitored.
scds_fm_tcp_write(3HA) – use a TCP connection to write data to a process that is being monitored.
scds_simple_probe(3HA) – probe a process by establishing and terminating a TCP connection to the process. This function handles only IPv4 addresses.
scds_simple_net_probe(3HA) – probe a process by establishing and terminating a TCP connection to the process. This function handles both IPv4 and IPv6 addresses.
scds_fm_tcp_disconnect(3HA) – terminate the connection to a process that uses IPv4 addressing that is being monitored.
scds_fm_net_disconnect(3HA) – terminate the connection to a process that uses either IPv4 or IPv6 addressing that is being monitored.