edmiResetClient


 

EdmiError edmiResetClient(void);

Terminates a client connection on the client side only. This function is used to clean up the client side of a connection after a problem on the EDM Server. In case there was no such server problem, use edmiDisconnect in stead to close the connection. edmiDisconnect will start with telling the EDM Server to clean the connection. However, if communication with the EDM Server is broken, this is of course impossible. Therefore, edmiResetClient will skip that part and concentrate on the client side only.

Arguments


Return Value


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

Options


 

Example


 

 void errorHandler(EdmiError rstat)
 {
 switch (rstat) {
 . . . 
 case edmiEDATACOMM:
 case edmiECOMMANDCOMM:
 SdaiString msg; 
 printf("\nError %d in communication: %s", rstat,
 edmiGetErrorText(rstat)); 
 edmiResetClient();
 edmiConnect("Johnny", "Carpenter", "sd4Fgj", &msg);
 sdaiOpenSession();
 break; 
 default: 
 }

 

See also

Filter by label

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

 Â