IBM

ls_isconnected

Tests if the specified host is currently connected with the application.

ls_isconnected tests if the specified host is currently connected with the application. A connection is established on the first successful return from an ls_connect, ls_rtask, ls_rtaske, ls_rexecv, or ls_rexecve call.

Any program using these routines must call ls_initrex first.

Any program using these routines must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

#include <lsf/lsf.h>
int ls_isconnected(char *hostName)

Parameters:
*hostname The host that is tested for connection with an application.
Data Structures:
none
Define Statements:
none
Returns:
int:non-zero
Function was successful.

int:0
Function failed.

Errors:
Systems that conform to the Single UNIX specification are not required to detect error conditions for this function.
Equivalent line commands:
none
Files:
none
See also:
ls_connect

ls_findmyconnections

ls_rtask

ls_rtaske

ls_rexecv

ls_rexecve



     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.