IF Computer > MINERVA > Example Programs > MINERVA Features > Client-Server with Sockets

Client-Server with Sockets

MINERVA
ifcomputer logo
f
Expert Services on the Web

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

  • the use of TCP/IP internet sockets
    • to provide information as a server
    • to access information as a client
    • to establish dedicated port-to-port links
    • to share e.g. an existing server
  • the invokation of sub-processes

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!

document: http://www.ifcomputer.co.jp/MINERVA/ExamplePrograms/MinervaFeatures/ClientServer/print_en.html
published 2008/5/19 update 2002/3/20 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS