in reply to Two Way TCP Tunnel with POE

POE just doesn't seem like the way to go here... Why not just do a straightforward proxy server?

POE can do a lot of stuff, but it seems like overkill for this application - just open connections to both sides (or listen on one side, then connect on the other) then use select to sysread whenever there's data on one channel, and syswrite it to the other...

You could get fancier than that, but I doubt you need to...

PS: Or you could just use Net::Proxy :)


Mike