Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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??

in reply to How do I do a non-blocking accept?

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://7100]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-06-24 05:37 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (556 votes). Check out past polls.