Visit Platform at http://www.platform.com

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)

Parameters:
tid The ID of the remote task being accessed.
Data Structures:
none
Define Statements:
none
Returns:
int:A connected socket.
Function was successful

int:-1
Function failed

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
ls_initrex


     
Date Modified: 28 Jun 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.