spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

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
 
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/manpages/netintf.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 17:11:34 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech