#følgbrynjar - hjelp en stakkars kodeape å få bekjente

PircBot with SSL

Download as PDF

Some time ago I found this Java framework (PircBot) for coding IRC bots. A quite nice framework, but it lacked some functionality that I needed, most notably the ability to join IRC servers that enforced SSL connections. With some minor adjustments to the actual code I got it working, and by downloading the attached source, you’re just a line away from having your own SSL-enabled PircBot. After you’ve downloaded the file below, you then call the connect routine of your BOT like this:

bot.connect(hostname, port, new TrustingSSLSocketFactory());

Donate using PayPal
If you found this publication useful to you, then feel free to show your appreaciation towards open-source publications by doing a small donation. It only takes a moment of your time. Any donation is appreaciated – and would also motivate me to release more as open-source. Donations so far – $0 USD – See previous donations.

No related posts.