Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: How to maintain a persistent connection over sockets? (Amazing! Multi-tasking without multi-tasking!)

by BrowserUk (Pope)
on May 05, 2012 at 09:28 UTC ( #969030=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
            close $client;
        }->detach;
    }
    
  2. or download this
    #! perl -slw
    use strict;
    ...
            $exchanges = 0;
        }
    }
    
  3. or download this
    [10:18:14.83] C:\test>for /L %i in ( 1,1,1) do @start /B t-sockCC -R=1
    
    ...
    Rate: 22023 exchanges/sec)
    Rate: 21923 exchanges/sec)
    ...
    
  4. or download this
    [10:22:38.82] C:\test>for /L %i in ( 1,1,3) do @start /B t-sockCC -R=1
    
    ...
    Rate: 17953 exchanges/sec)
    Rate: 17917 exchanges/sec)
    ...
    
  5. or download this
    [10:22:47.85] C:\test>for /L %i in ( 1,1,10) do @start /B t-sockCC -R=
    +1
    
    ...
    Rate: 6172 exchanges/sec)
    Rate: 6241 exchanges/sec)
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-12-29 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls