Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
We don't bite newbies here... much
 
PerlMonks  

Sockets connected to processes and vice versa?

by lindex (Friar)
on Feb 06, 2001 at 23:33 UTC ( [id://56850]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

lindex has asked for the wisdom of the Perl Monks concerning the following question:

Ok, so I have an IO::Socket handle connected to a port on a machine and I have a program on my local machine, now I want to put the output from the socket to the input of the program and the output of the program to go to the input of the socket. In other words, pipe them together transparent to the local program running on the local machine. So my question is whats the best way todo so (theres a few methods out there I have seen). please feel free to post example code to demonstrate your point :)



lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/

Replies are listed 'Best First'.
(tye)Re: Sockets connected to processes and vice versa?
by tye (Sage) on Feb 07, 2001 at 04:51 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://56850]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.