README
------

Building
--------

1. To compile:

   > tar zxvf nxcomp-X.Y.Z-N.tar.gz
   > cd nxcomp
   > ./configure
   > make

   You'll have to run gmake under Solaris.

2. The 'make install' target is not currently supported
   in the Makefile, but it should be simple to fix.

You need at least nxproxy and nxagent packages to enjoy this code. Check the
NoMachine website at http://www.nomachine.com to get the latest release.


Requirements
------------

In this version we introduce PNG image compression. We found incompatibilities
between PNG and ZLIB versions installed on some platforms. We suggest that,
before you build nxcomp and nxproxy, you upgrade to ZLIB library >= zlib-1.1.4
and PNG library >= libpng-1.2.5. This is expecially true your are building for
Cygwin or you are going to cross compile nxproxy and nxcomp for Sharp ZAURUS
and Compaq/HP iPAQ.


X Tunneling
-----------

NX proxy is currently optimized to handle the 'internal' NX agent connections.
Performances in X tunneling mode (that is nxproxy connected to a persistent
nxproxy running at remote side, listening for multiple X client connections)
can be greatly improved by implementing a better scheduler, not relying, for
example, on timestamps.


SSL Tunneling
-------------

NX proxy must implement SSL internally and replace SSH in situations where we
need encryption and TCP tunneling.


Design
------

The main loop and code in Proxy classes must be redesigned to unify the way we
handle timeouts. It should not be difficult to do that by leaving, at the same
time, the Channel classes unchanged. Some parts must be moved from Control to
Proxy. Initialization stuff must be separated from the main loop.
