| |
NAME
| | scds_simple_probe - probe by establishing and terminating a TCP connection to an application |
SYNOPSIS
| |
cc [flags...]-I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
scha_err_t scds_simple_probe(scds_handle_t handle, const char *hostname, int port, time_t timeout); |
| |
The following parameters are supported:
-
handle
- The
handle returned from scds_initialize(3HA)
-
hostname
- Internet hostname of the machine to connect to
-
port
- Port
number to make the connection with
-
timeout
- Timeout value in seconds (to wait for a successful connection
|
| |
The scds_simple_probe() function returns the following:
-
0
- The function
succeeded.
-
non-zero
- The
function failed.
|
| |
-
SCHA_ERR_NOERR
- Indicates the function succeeded.
-
SCHA_ERR_TIMEOUT
- Indicates the function timed out.
See scha_calls(3HA)
for a description of other error codes.
|
| |
-
/usr/cluster/include/rgm/libdsdev.h
- Include file
-
/usr/cluster/lib/libdsdev.so
- Library
|
| |
See attributes(5)
for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWscdev |
| Interface Stability | Evolving |
|
| Sun Cluster 3.1 | Go To Top | Last Changed 24 July2002 |
| |