Net::DirectConnect - Perl Direct Connect protocol implementation
use Net::DirectConnect::clihub; my $dc = Net::DirectConnect::clihub->new( 'host' => 'dc.mynet.com', 'port' => '4111', #if not 411 'Nick' => 'Bender', 'description' => 'kill all humans', 'M' => 'P', #passive mode, active by default ); $dc->wait_connect(); $dc->chatline( 'hi all' ); while ( $dc->active() ) { $dc->work(); } $dc->destroy();
look at examples for handlers
Currently NOT supported: sharing; segmented, multisource download; async connect; full ADC;
To install this module type the following:
perl Makefile.PL && make install clean
# pro http://pro.setun.net/dcppp/ http://sourceforge.net/projects/dcppp
http://svn.setun.net/dcppp/timeline/browser/trunk
latest snapshot svn co svn://svn.setun.net/dcppp/trunk/ dcppp
usage example: used in [and created for] http://sourceforge.net/projects/pro-search http://pro.setun.net/search/ ( http://svn.setun.net/search/trac.cgi/browser/trunk/crawler.pl )
protocol info: http://en.wikipedia.org/wiki/Direct_Connect_network http://www.teamfair.info/DC-Protocol.htm http://adc.sourceforge.net/ADC.html
also useful for creating links from web: http://magnet-uri.sourceforge.net/ http://en.wikipedia.org/wiki/Magnet:_URI_scheme
Oleg Alexeenkov, <pro@cpan.org>
Copyright (C) 2005-2009 Oleg Alexeenkov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Unknown directive: =z
To install Net::DirectConnect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DirectConnect
CPAN shell
perl -MCPAN -e shell install Net::DirectConnect
For more information on module installation, please visit the detailed CPAN module installation guide.