Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 lurking in the Monastery: (7)
As of 2015-07-31 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls