Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_isconnected()

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

DESCRIPTION

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.

SYNOPSIS

#include <lsf.h>  
int ls_connect(char *host) 

PARAMETERS

*host

The host that is tested for connection with an application.

RETURN VALUES

integer:non-zero

Function was successful.

integer:0

Function failed.

ERRORS

Systems that conform to the Single UNIX specification are not required to detect error conditions for this function. - Error handling

SEE ALSO

Related APIs

ls_connect()  
ls_findmyconnections()  
ls_rtask()  
ls_rtaske()  
ls_rexecv()  
ls_rexecve()  

Equivalent line command

none

Files

none


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next