I want to create an IRC client. However, I'm not sure as to how I to go about implementing the protocol.

After I create a socket that is connected to the server, how do I know what to listen for and what to send?

Any guidance, reading, or other form of help will be greatly apperciated.

Thank you for your time and effort,

Joseph