Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: P2P Golf: MoleSter

by blazar (Canon)
on Dec 16, 2004 at 15:10 UTC ( #415364=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $p=shift;$a=shift;i(shift);socket S,2,1,6;bind S,&a($a);listen
    S,5;$/=undef;while(@ARGV&&($_="$p $a f".shift)||accept(C,S)&&($_=<C>)&
    +&close
    C){m!^(.*?) (.*?) ([e-i])([^/]*)/!s&&$1 eq$p&&&$3($2,$4,$');}sub e{ope
    +n
    ...
    a{$_[0]=~/:/;pack'CxnC4x8',2,$',split'\.',$`}sub
    s{socket X,2,1,6;$w=shift;if(connect X,&a($w)){print X
    "$p $_[0] $_[1]/$_[2]";close X}else{undef $k{$p}}}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-07-26 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (234 votes). Check out past polls.