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 10:28:09AM -0700, Kevin Buettner wrote:
/_On Aug 12, 12:01pm, Mike Starke wrote:

/_Remind me again how you were attempting to pass parameters? (Unfortunately,
/_I've deleted your original message. My recollection was that you were
/_attempting to pass parameters via telnet? If so, that won't work.)
/_

I don't think I passed that along ;-)

What I want to do is execute a program on the server at my ISP which
passes the phone number-document number to a perl script on my home PC.
My home PC runs Hylafax. I had not thought this whole process
completely thru.

Couldn't I execute something like this on my ISP:

nc myhomePC:port_number < parameters