What is the appropriate Windows XP or later way to summon a remote communications process that would be analogous to inetd on Unix/Linux? For example, how does VNC client connect to the VNC server on Windows? I have an application on Linux that I want to port to Windows XP, this application is a client-server architecture where the client summons the server using inetd.
migrated from stackoverflow.com Aug 29 '11 at 7:35
This question came from our site for professional and enthusiast programmers.
Inetd is a "daemon". The equivalent functionality in Windows would be to create a "service".
VNC, in fact, installs as a service.
Common protocols like HTTP, FTP and SMTP are implemented by the "Web publishing service" (IIS), should you choose to enable IIS.
And, of course, you can write, register and enable any service you wish, that does anything you wish. Including listen on a TCP/IP port for incoming client requests.
Cygwin has xintd ported to windows. I use xMing, for X and cygwin for the rest of my unix tools on win7 and use to on XP. If you are sure that your user base can install cygwin, this may be your easy way to port.
If you want to go the pure windows route build a service