Port Forwarder

I just wrote this program, that does "Port Forwarding".
That means, that it opens a server (on port number that specified in ServerPORTNUM) on the computer that runs it, and every connection that come, it open a new connection to another computer (whose name is in MaanaHOSTNAME), in a specified port (that is written in MaanaPORTNUM)

The program uses the "select" C Socket command, for allowing passing of more then one forwarded every time. It's written in something close-to ANSI-C, and works well on Windows 2000, compiled with Visual C++ 6. It should run on UNIX as well, with minimum changes. (for example, you'll have to change the includes to match UNIX, VC's OutputDebugString to printf(stderr,"..."), and all the code that handle massage boxes should be cut.)

So, Ladies and Gentlemen,  I'm proud to introduce the Port Forwarder:

Apon request, I have available for download: precompiled win32-exe file, and Visual Studio 6 project.

Have a quite day,
    Semuel Fomberg

(Written at: 30/4/2002, Updated 21/01/2004)