Implementing IRC protocol

This is a discussion on Implementing IRC protocol within the Networking/Device Communication forums, part of the General Programming Boards category; I want to create an IRC client. However, I'm not sure as to how I to go about implementing the ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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,185

  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: eeepc904@gmail.com
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21