IRC bot?

I want to write an IRC bot in C++; how would I go about doing that? Thanks.
You'll have to learn about socket programming and make yourself familiar with the IRC protocol.
I know that. That's what I'm asking; how do I connect to the IRC sockets in C++ and set it up so the bot says/does something on command?
Topic archived. No new replies allowed.