|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: How do I do a non-blocking accept?by thecap (Initiate) |
| on Apr 07, 2000 at 07:09 UTC ( #7100=note: print w/ replies, xml ) | Need Help?? |
|
You should check out perl-chat in Tkil's Perl Examples. It uses the low level calls to select, sysread and syswrite. The diffcult thing about using select is that you can't use <SOCK> and print SOCK with nonblocking io. When you move to the higher level IO::* you might find Tkil's port-forward a useful guide.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||