Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
1. prompt user for input (an integer)
2. initiate connection with server
3. send user's input to server
4. launch another app, which will also connect to (actually, through) the same server
I'd like my client to ultimately use the same port as the app it launches. What I don't know is, how do I make the launched app (already a stand-alone program) use the same connection I just established??
The server app I'm planning is going to be a TCP redirector, which first accepts user input (corresponds to a particular IP and port), and then redirects the resulting connection to that particular IP and port.
Any advice appreciated - I've tried looking around for an existing TCP redirector in Perl - didn't find one.
Thanks in advance, Glenn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: launching another program but using the existing socket
by repson (Chaplain) on Jul 22, 2001 at 06:26 UTC | |
by tye (Sage) on Jul 23, 2001 at 23:57 UTC | |
|
Re: launching another program but using the existing socket
by nardo (Friar) on Jul 22, 2001 at 03:34 UTC |