pilg_disconnectnode

This function disconnects the current application from the specified server. The disconnect has a global effect for the whole system i.e., every application using the DLL and connected to that server will get disconnected.

C format

PIINT32 pilg_disconnectnode(

LPCSTR lpszServerName);

Returns

 >0 System error

 0 Success

 -103 Application is not registered

 -106 No servers configured (pilogin.ini not found)

Arguments

szServerName (passed)

Server name - pointer to null terminated string.

Usage Notes

The effect of the call on the current application is immediate. Other applications connected to the specified server through this DLL will be marked as "globally disconnected" and will actually be disconnected the next time pilg_setservernode for the named server is issued by the application.

Enabling Operational Intelligence