using nc to simulate a service

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Mike Starke
日付:  
題目: 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