PAVR network library

Francois Faure & Jean-Dominique Gascuel, 1999


The library

The PAVR network library is a C++ software interface which allows bidirectional TCP-IP sockets to be easily used in a C++ program.

The distribution includes two sample programs, a client and a server.

Download the network library:

Useful clients and programs

The following clients and programs can be found in the directory Clients/

writeMsgs

Connects to the server, writes the scene description received on the standard output. Each time the user types ENTER, it queries the server and writes the updates received. The messages are NOT parsed. Useful for debugging

sendFile

Sends a PAVRML file to the geometry server

ivvisu

A client which visualizes the common scene, using Inventor.

ivclient

A client which manages a cone and an animated sphere. When running several clients, all objects are visible by all clients. To try it:

  1. run an nserver: nserver 3334 (the port number 3334 is arbitrary.)
  2. run a geoserver: geoserver [machine_name] 3334 where [machine_name] is the name of the machine the server is running on.
  3. run a client: client [machine_name] 3334
  4. to run other clients, repeat step 3.

This is an example of display when one client is logged (first image) ot two clients are logged (second image):

                    

Uses Inventor. Names are randomized, so several clients can run simultaneously without name clashes. Translation from Iv to PAVRML is made by the ExportIv object. Attention if you want to reuse it: it is only able to export a hierarchy of Shapekits !


Last update: 17/08/1999

Send comments, questions and bug reports to francois@cg.tuwien.ac.at