Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Problem handling 2 simultaneous socket streams

by zentara (Archbishop)
on Sep 30, 2011 at 10:55 UTC ( #928743=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     my $input;
     sysread( \*STDIN, $input, 1024);
    
  2. or download this
    use Fcntl;
      
    fcntl(\*STDIN, F_SETFL, O_NONBLOCK) || die "$!\n";
    # Set the non-block flags  
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-07-23 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (131 votes), past polls