Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Socket hang. (Windows or Perl? Solutions?) (Updated)

by marioroy (Vicar)
on Sep 01, 2018 at 02:24 UTC ( #1221484=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # anything windows, including Cygwin
    my $is_winenv = ( $^O =~ /mswin|mingw|msys|cygwin/i );
    ...
    $svr->shutdown( 2 );
    close $svr;
    
  2. or download this
    #! perl -slw
    use strict;
    ...
            $svrN / ( time() - $start );
    }
    
  3. or download this
    Y:\>perl demo_thr.pl
    server:208500 client:208501 cycles: 2128.246/secTerminating on signal 
    +SIGINT(2)
    
  4. or download this
    $ netstat -na | wc -l
         21
    
  5. or download this
    $ netstat -na | wc -l
      14055
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2019-11-13 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (68 votes). Check out past polls.

    Notices?