using nc to simulate a service

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Starke
Fecha:  
Asunto: 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