C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 06-27-2009, 08:15 PM   #1
Allways learning
 
cs_student's Avatar
 
Join Date: Aug 2008
Location: ~/
Posts: 32
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
cs_student is offline   Reply With Quote
Old 06-28-2009, 12:07 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 06-28-2009, 01:03 PM   #3
Allways learning
 
cs_student's Avatar
 
Join Date: Aug 2008
Location: ~/
Posts: 32
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
cs_student is offline   Reply With Quote
Old 06-28-2009, 01:08 PM   #4
and the Hat of Guessing
 
tabstop's Avatar
 
Join Date: Nov 2007
Posts: 8,740
LMGTFY
tabstop is offline   Reply With Quote
Old 07-13-2009, 12:07 PM   #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. ★
execute is offline   Reply With Quote
Old 07-13-2009, 01:26 PM   #6
Registered User
 
Join Date: Jul 2007
Posts: 44
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.
fronty is offline   Reply With Quote
Old 07-14-2009, 11:25 AM   #7
Trying to Learn C
 
nathanpc's Avatar
 
Join Date: Jul 2009
Location: Brazil
Posts: 32
Lightbulb

Hello cs_student,
Here is some things that gonna help you:
Thanks,
Nathan Paulino Campos
__________________
Eee PC 904HD White | Windows XP Home Edition | My Site

Google Talk: eeepc904@gmail.com
ICQ: 424738586

Add me and let's talk about C and C++!

Last edited by nathanpc; 07-14-2009 at 11:27 AM. Reason: one broken link
nathanpc is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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