using nc to simulate a service

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Mike Starke
Päiväys:  
Aihe: 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