 |
 |
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
net_interface
NAME
net_interface - network interface between ParVox's
xmparvox and netparvox.
SYNOPSIS
Commands and data that are passed between the GUI
and the renderer. Useful for users who want to interface with netparvox
directly.
DESCRIPTION
Xmparvox and netparvox establishes two network sockets
to communicate with each other. The first socket is used to pass commands
and messages back and forth between the two. This is the port number you
can optionally specify when starting netparvox and xmparvox. The second
socket is used for image related data. The model works like this: netparvox
initializes the first socket and waits for a connection from the GUI. Once
the connection is established, netparvox looks for the next available port
and opens it, then communicates the port number back to the GUI. The GUI
then connects on the second port also. Once this is complete, netparvox
would wait for a command via the first socket. When it receives a command,
it would execute the necessary routines, send the rendered image, if any,
to the GUI via the second socket, and go back to waiting for commands.
The GUI installs an Xt work procedure that generates an event when image
data arrive on the second socket. When images arrive, xmparvox will
jump to the display routine in the event handler.
The communication over the first socket is mostly
one-way from the GUI to the renderer, except during initialization. The
second socket is for the images from the renderer to the GUI.
SEE ALSO
vlmeta_intro,
ParVox Tutorial: Input Data Format
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
 |
|
 |
This page,
http://pat.jpl.nasa.gov/public/ParVox/manpages/netintf.html,
is maintained by
and was last modified Wednesday, 09-Mar-2005 17:11:34 PST
|
|
 |
 |
 |
 |
 |
 |
 |
|