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.
This section contains the following functions.
scds_tcp_connect – establish a TCP connection to a process.
scds_tcp_read – use a TCP connection to read data from the process being monitored.
scds_tcp_write – use a TCP connection to write data to a process being monitored.
scds_simple_probe – probe a process by establishing and terminating a TCP connection to the process.
scds_tcp_disconnect – terminate the connection to a process being monitored.