Sign in to follow this  

IRC protocol

This topic is 2837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been working on a lot of multiplayer games. This one in particular, I plan to be more of an IM/IRC client than a game. So, getting the chat system right is going to be crucial. It seems that IRC is the best choice considering it is so widely used. However, I need to host my own server and it has to be tightly integrated into the framework of the game. I think the easiest way to do this will be to completely code an IRC server from scratch. However, I've searched for the IRC protocol and IRC daemon source code, but havn't really come up with anything useful. I'm sure there is a place that the IRC protocol is well documented online, but I'm unaware of such a place. Could anyone point me in the right direction. Thanks you

Share this post


Link to post
Share on other sites
http://irchelp.org/irchelp/rfc/rfc.html

oddly enough it was the first hit google gave me on "IRC Protocol".

you can also look at ICR Deamon(ircd) (GPL) which is an opensource IRC server.
source here: ftp://ftp.funet.fi/pub/unix/irc/server/
(If you want to distribute your server under a different license you can't use that code though, there might be servers released under a more suitable license if you look around a bit)

Share this post


Link to post
Share on other sites
http://irchelp.org/irchelp/rfc/rfc.html

Did you try google searching "irc protocol"? If you can read python, you might look at the python irclib library for inspiration. It implements the client side, but that might help. I never touched the server side myself, but I wrote an ircbot as a long term exercise to learn python, and the client side of the protocol at least isn't too bad.

Check for libraries for your language as well, irc is pretty big, there's probably something out there.

Share this post


Link to post
Share on other sites
EqualityAssignment, I actually found that article. I didn't read it entirely, but I spent a good deal of time on it and it wasn't helping very much at all.

SimonForsman, I never thought to look at the IRCd source. That will probably be adequate, but I'm hoping there is something more straightforward. It seems odd that IRC is such a commonly used protocol but it doesn't seem to have anywhere near the documentation as say HTTP.

Share this post


Link to post
Share on other sites
Quote:
Original post by yahn
EqualityAssignment, I actually found that article. I didn't read it entirely, but I spent a good deal of time on it and it wasn't helping very much at all.

SimonForsman, I never thought to look at the IRCd source. That will probably be adequate, but I'm hoping there is something more straightforward. It seems odd that IRC is such a commonly used protocol but it doesn't seem to have anywhere near the documentation as say HTTP.


The RFC is a complete documentation of the protocol, everything you need to know to implement it is there, I'm not quite sure what documentation you're missing.

If you need help understanding the documentation I'm sure people here could answer your questions.

Share this post


Link to post
Share on other sites

This topic is 2837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this