Consultor Eletrônico



Kbase P13934: How to terminate an application that uses a server-socket
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to terminate an application that uses a server-socket

FACT(s) (Environment):

Progress 9.x

FIX:

The easiest way to terminate an application that is running in batch mode and accepts socket connections (i.e. it uses the SERVER-SOCKET functionality) is to simply have a client send a message to the application that tells the application to quit. In the applications READ-RESPONSE handler the application should look for that message and simply issue the 4GL 'QUIT' statement.