Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: P2P Golf: MoleSter

by blazar (Canon)
on Dec 16, 2004 at 15:10 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://415364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found