using nc to simulate a service

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: using nc to simulate a service
On Tue, Aug 12, 2003 at 09:53:28AM -0700, Kevin Buettner wrote:
/_Why bother with netcat? Instead, just make your perl script listen on
/_the port directly...
/_

You mean something like:
myhyla  stream  tcp     nowait  me     /home/me/perlscripts/hylafax_polling.pl     /home/me/perlscripts/hylafax_polling.pl


in inetd.conf?
I also made an entry in /etc/services for myhyla.

I tried it, and I am having a hard time passing parameters to the script.
Hard time is an understaement, I have NOT succeeded.

v/r
-mike