edmiDefineCommunication


 

EdmiError edmiDefineCommunication(SdaiString portName,
                                   SdaiString hostName); 

Defines the name of the system that hosts the EDMserver of interest and the communication port name that will be used to communicate with this particular EDMserver. The combination of <hostName> and <portName> uniquely identifies an EDMserver in a network. This communication set-up must be defined on the client host before the client can successfully access a multi-user EDMserver. This function has no effect in a single-user EDMserver.

Arguments


TypeNameComment
SdaiString

portName

Specifies the name of the EDMserver service port. This name must be present in the "etc/services" file before a multi-user EDMserver can run successfully. The name of the EDMserver service port can be defined by the environment variable EDM_SERVICE_NAME.

SdaiString

hostName

Specifies the name of the system that runs the multi-user EDMserver of interest. The name of the host running EDMserver process can be defined by the environment variable EDM_HOST,

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

EdmiError rstat;
 SdaiAppInstance appInstance;
 ...
 if (rstat = edmiDefineCommunication("edmd", "hepa")) {
 /* Error in operation */ 
 printf("\nError in edmiDefineCommunication: %s\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.