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.
>0 System error
-103 Application is not registered
-106 No servers configured (pilogin.ini not found)
Server name - pointer to null terminated string.
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.