Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_conntaskport()

Connects a socket to a remote task port.

DESCRIPTION

ls_conntaskport() connects a socket to the task port that was created by the remote RES for the remote task tid returned by an ls_rtask() or ls_rtaske() call. You must have started the remote task with the REX_TASKPORT flag (see ls_rtask()).

Any program using this routine must call ls_initrex() first.

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

SYNOPSIS

#include <lsf.h> 
int ls_conntaskport(int tid) 

PARAMETERS

tid

RETURN VALUES

integer:(non-zero?)

Function was successful

integer:-1

Function failed

A connected socket is returned on success.

ERRORS

If the function fails, lserrno is set to indicate the error.

SEE ALSO

Related APIs

ls_initrex()

Equivalent line command

none

Files

${LSF_ENVDIR-/etc}/lsf.conf


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