This example demonstrates how to establish a socket connection between server and client, written in Visual Prolog.
Also it contains a java client, which can work with a java server and also a prolog socket server. That is, it can demonstrate how java and prolog can work together. It also gives a glimpse of the direction how web-based java applications (web portals) make use of the already developed prolog inference engines.
How to Operate This Demo
- Open the Prolog_server and initialize server by menu command.
- Run Prolog_client in command prompt and see how the prolog client exchanges information with the prolog server.
How to Build and Run This Demo
Load and build both projects prolog_server\prolog_server.prj6 and prolog_client\prolog_client.prj6 by the IDE.