public class HelloRemote2
extends Object
In order to run this you need to:
- Install/copy XSB Prolog to the remote machines, Java JRE as well as interprolog.jar
- Execute the interprolog daemon on the remote machine with
java -classpath interprolog.jar com.declarativa.interprolog.remote.PrologServer XSBpath
...and take note of the IP/port being listened to
- On the client machine you need only Java JRE and interprolog.jar
java -classpath interprolog.jar com.declarativa.interprolog.examples.HelloRemote2 IP port
Example output:
....