Thread: Implementing IRC protocol

  1. #1
    Allways learning cs_student's Avatar
    Join Date
    Aug 2008
    Location
    ~/
    Posts
    39

    Implementing IRC protocol

    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

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    RFC-Editor Webpage
    Look up the RFC which defines IRC
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Allways learning cs_student's Avatar
    Join Date
    Aug 2008
    Location
    ~/
    Posts
    39
    I've been trying since yesterday. The page still doesn't load for me. I think the server is down.
    Do you have an alternate link?

    Thanks,

    Joseph

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    137
    If you try to search for some C++ IRC clients, there may be open source tiny programs that implement basic IRC features (they are popular so there should be many). They are very simple commands that you send back and forth with IRC. That's why IRC is so popular really, because it's so simple.
    ★ Inferno provides Programming Tutorials in a variety of languages. Join our Programming Forums. ★

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    131
    I think it will be easier to find very simple bot which implements basic part of the protocol.

    I agree with execute about easiness of IRC protocol. It's so easy to implement that I've found it easier to write a simple quick and dirty bot if your IRC channel needs something and not to try to find some ugly tcl script that you don't understand and hand it to eggdrop.

  7. #7
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72

    Lightbulb

    Hello cs_student,
    Here is some things that gonna help you:


    Thanks,
    Nathan Paulino Campos
    Last edited by nathanpc; 07-14-2009 at 11:27 AM. Reason: one broken link
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: [email protected]
    ICQ: 424738586
    AIM: nathanjava

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. IRC, reading the stream
    By Iyouboushi in forum C# Programming
    Replies: 6
    Last Post: 08-03-2006, 05:34 PM
  3. cprogramming.com IRC channel
    By codec in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 05-06-2004, 10:31 AM
  4. Some help needed with IRC
    By SaintK in forum C++ Programming
    Replies: 2
    Last Post: 04-04-2004, 07:27 AM
  5. irc protocol
    By chrismiceli in forum C Programming
    Replies: 4
    Last Post: 09-16-2003, 12:56 AM