ls_conntaskport
Connects a socket to a remote task port.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.
#include <lsf/lsf.h>
int ls_conntaskport(int tid)
Data Structures:
- Parameters:
tid The ID of the remote task being accessed. Define Statements:
- none
- none
Errors:
- Returns:
- int:A connected socket.
Function was successfulint:-1
Function failedEquivalent line commands:
- If the function fails, lserrno is set to indicate the error.
Files:
- none
- ${LSF_ENVDIR:-/etc}/lsf.conf
- See also:
- ls_initrex
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.