ASTA HTTP Tunneling
ASTA clients can have their messages formatted as HTTP if the client firewall will only allow HTTP traffic on port 80 and the remote ASTA server is running on the same machine as IIS or another web server. ASTA supports HTTP tunneling running stateless through an isapi dll sitting on the server that will pass all ASTA client/server messages through the web server to the ASTA server, and back to the client
Stateless tunneling is performed through an HTTP server using the isapi dll - ASTAHTTP.DLL. ASTA supplies an isapi DLL called AstaHttp.dll which you put intp your IIS scripts directory or
whatever directory your web server expects to find isapi dll's.
To set the server, up you must set the ASTAProtocol to AstaIsapi or use the isapi command line switch: AstaBDEServer.exe isapi
On the client you must call the AstaClientSocket.SetForIsapiUse.
procedure
SetForIsapiUse(WebServerAddress, AstaServerAddress,
AstaIsapiDll: string;
WebServerPort, AstaServerPort: Word);
Example
SetForIsapiUse('63.224.240.82',
'63.224.240.84',
'isapi/AstaHttp.dll',
80, 9000);
The ASTA client application will then create actual HTTP messages and connect to your remote web server which will pass any messages through to your ASTA server via the ASTAHTTP.DLL and stream results back as normal HTTP messages to the client application.
To allow the user to configure the settings you can call:
procedure AstaIsapiSetup(ClientSocket: TAstaClientSocket);