Check out POE http://poe.perl.org. If it's your first foray, it will take a while to get used to it (Do a search on PM for poe tutorial and you will come up with a discussion). IMHO it would be a better investment to lean POE and do this using it rather than coding it at a low level. Plus POE is non-blocking.
AnyEvent is another alternative.
- Markov
In reply to Re^3: Help finding relevant modules to write a port forwarder from pool
by MarkovChain
in thread Help finding relevant modules to write a port forwarder from pool
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |