sitelogo
Client-Server with Sockets

Direct Client-Server communication using sockets.

Please note that the built-in predicates for socket communication are higher-level and more convenient than the programs detailed in this example.

These program fragments show in MINERVA applications

To use the programs on your system you may need to adapt the host and port information. The program assumes an underlying UNIX system - a UNIX shell is used for convenience.

Here are the source programs:

Enjoy!


Darueber read on...
scroll to top managed with ubiCMS