next up previous
Next: 6 The Web of Up: 5 Internet programming with Previous: 5.1 Programming CGIs: the

5.2 A first look at Internet programming in BinProlog

To try this out, open 3 windows, start BinProlog in each, then type:

   ?-run_server.             % in the first window
   ?-out(hello(your_name)).  % in the second window
   ?-all(X,Xs).              % in the third window

You will see that they are connected! The following sections will show how this kind of communication is achieved between your computer and, if you are `wired', other computers over the net.



next up previous
Next: 6 The Web of Up: 5 Internet programming with Previous: 5.1 Programming CGIs: the



Paul Tarau
Thu Apr 3 10:26:39 AST 1997