Reputation: 583
I've been searching for a while, but I can't seem to find the message formatting of the IRC protocol. For example, if I wanted to enter a channel, the client might send "enter channelname nick" or something along those lines. Does anyone know?
Upvotes: 2
Views: 1177
Reputation: 3461
Look at the RFC: http://www.irchelp.org/irchelp/rfc/rfc.html
Or open your favorite IRC client and use a sniffer to see what the incoming/outgoing packets look like.
I'm guessing you are asking how to join a channel:
http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_1
You simply send: JOIN #channel\r\n
Upvotes: 5