Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 browsing the Monastery: (4)
As of 2014-09-21 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls