<div dir="ltr"><div>For anyone interested, I'd like to announce the release of my IRC client library for Racket. It packages up the client side of the IRC protocol and does most of the hard processing for you, wrapping everything into a simple API. It's available as a package:<br>


<br></div><div>raco pkg install irc<br><br></div><div>Connecting and sending a message is as simple as the following:<br></div><div><br>(require irc)<br></div><div><span>(</span><span><a>define-values</a></span><span> </span><span>(</span><span>connection</span><span> </span><span>ready</span><span>-event)<br>


</span><span>  </span><span>(</span><span><a>irc-connect</a></span><span> </span><span>"<a href="http://chat.freenode.net" target="_blank">chat.freenode.net</a>"</span><span> </span><span>6667</span><span> </span><span>"rackbot"</span><span> </span><span>"rbot"</span><span> </span><span>"Racket Bot"</span><span>)</span><span>)<br>


</span></div><div><span>(sync ready-event)</span><span><br>(</span><span>irc-join-channel</span><span> </span><span>connection</span><span> </span><span>"#racket"</span><span>)</span><span></span><br>
</div><div>(irc-send-message connection "#racket" "Hello, world!")<br></div><div>(sleep 500) ; don't have to sleep, just don't let the program terminate and close the TCP session<br></div><div>

<br>The code is available at <a href="https://github.com/schuster/racket-irc" target="_blank">https://github.com/schuster/racket-irc</a>. Feedback welcome!<br>
</div></div>