The stupid question is the question not asked | |
PerlMonks |
Re: TCP Client and Server Inter process communicationby dk (Chaplain) |
on Jun 11, 2010 at 13:45 UTC ( [id://844239]=note: print w/replies, xml ) | Need Help?? |
I have built many TCP clients and servers
I assume that you have built many blocking servers, but you have trouble with non-blocking architecture, am I right? If that's so I'd recommend to try one of CPAN's async I/O toolkits - POE, IO::Lambda, AnyEvent, EV . Sure you can do the same without a toolkit, it just gets messy; begin with perldoc -f select if you need to build it from the ground up.
In Section
Seekers of Perl Wisdom
|
|