Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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;
  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=
    Rate: 6172 exchanges/sec)
    Rate: 6241 exchanges/sec)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2016-10-24 13:48 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (306 votes). Check out past polls.