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

extern LIBVEM_API vem_handle_t* vem_open(vem_openreq_t *)

Open communication handle to VEM.

Routine opens library configuration file to get master hostname and port number to connect to. The file field in vem_openreq can be used to specify the location of the configuration file. If it is NULL, environment variable VEMKD_LIB_CONF will be used. If environment variable is not set, routine will look for "ego.conf" in the current working directory.

On success, a handle is returned from this routine. This handle corresponds to a connection with VEMKD, and will be used in subsequent communication with VEM.

Note:
The returned vem_handle should be treated as an opaque object.
Returns:
a handle, or NULL on error.


     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.