On Friday 27 Nov 2009 12:49:28 Rob Coops wrote: > On Fri, Nov 27, 2009 at 11:26 AM, Kammen van, Marco, Springer SBM NL < > > marco.vankam...@springer.com> wrote: > > Absolutely no'one with a example or hint in the right direction??? > > > > :-( > > > > - > > Marco van Kammen > > Springer Science+Business Media > > System Manager & Postmaster > > - > > van Godewijckstraat 30 | 3311 GX > > Office Number: 05E21 > > Dordrecht | The Netherlands > > - > > tel > > +31(78)6576446 > > fax > > +31(78)6576302 > > > > - > > www.springeronline.com > > www.springer.com > > - > > > > > > > > -----Original Message----- > > From: Kammen van, Marco, Springer SBM NL [mailto: > > marco.vankam...@springer.com] > > Sent: Monday, November 23, 2009 2:18 PM > > To: beginners@perl.org > > Subject: dcc chat example > > > > Hi All, > > > > > > > > I've been looking at this for ages. > > > > Does anyone have a working script or example of how to use a dcc chat > > while already connected to a irc server. > > > > Without the use of additional modules like Net::IRC. > > > > > > > > I guess I need to use either IO::Multiplex or IO::Select but I can't get > > it to work. > > > > As soon as I connect the second socket and read/write to it the first > > socket (the one with the irc server session) blocks.... > > > > > > > > I will e-mail the code on request.. > > > > > > > > Thanks & Regards, > > > > > > > > - > > > > Marco van Kammen > > Springer Science+Business Media > > System Manager & Postmaster > > > > - > > > > van Godewijckstraat 30 | 3311 GX > > Office Number: 05E21 > > Dordrecht | The Netherlands > > > > - > > > > tel > > > > +31(78)6576446 > > > > fax > > > > +31(78)6576302 > > > > - > > > > www.springeronline.com <http://www.springeronline.com> > > www.springer.com <http://www.springer.com/> > > > > - > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > > For additional commands, e-mail: beginners-h...@perl.org > > http://learn.perl.org/ > > Hi Marco, > [snip] > Anyway, if you are looking for example code why not have a look at the > Net::IRC::DCC module which most likely will provide you exactly with the > information you are looking for. >
I should note that using Net::IRC is no longer recommended: http://search.cpan.org/dist/Net-IRC/ Reading from there: <<<<<<<<<< NAME ^ Net::IRC - DEPRECATED Perl interface to the Internet Relay Chat protocol USE THESE INSTEAD ^ This module has been abandoned and is no longer developed. This release serves only to warn current and future users about this and to direct them to supported and actively-developed libraries for connecting Perl to IRC. Most new users will want to use Bot::BasicBot, whereas more advanced users will appreciate the flexibility offered by POE::Component::IRC. We understand that porting code to a new framework can be difficult. Please stop by #perl on irc.freenode.net and we'll be happy to help you out with bringing your bots into the modern era. >>>>>>>>>> Regards, Shlomi Fish > Regards, > > Rob > -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What does "Zionism" mean? - http://shlom.in/def-zionism Chuck Norris read the entire English Wikipedia in 24 hours. Twice. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/