LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-14-2003, 12:06 PM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
Question Tutorials making IRC Client with C?


Does somebody know a URL where they learn you how to make a IRC Client (robot in my case..) with C??

I really need to read a tutorial that explains me exactly how to make a irc client , with somekind of "database" stuff. I know how to connect and that kind of stuff, but I don't know how to save nicks and host and that kind of stuff.

Somekid of "Making IRC Clients with C for dummies"

I hope somebody got a URL for me :S
 
Old 11-14-2003, 01:20 PM   #2
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Rep: Reputation: 15
A friend of mine made IRC server, maybe he would be helpful. But first you have to have more specific questions, and you have to start working on it. freshmeat might be a good start, try to find a similar project and read the source.
 
Old 11-14-2003, 02:30 PM   #3
zekko
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76

Rep: Reputation: 15
I have never seen a tutorial for creating IRC bots in C. However, there are many open source IRC clients and bots that you learn from:

Xchat (IRC client)
Eggdrop (bot)
HAL (bot)

Hope this helps.
 
Old 11-14-2003, 03:35 PM   #4
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Hm...
I wanted a tutorial that only talks about the subject I want + explenation.

Cause I know the clients you ppl called and I checked there sources, but I don't understand exactlly what they doing or somethings I can't find the functions where they placed where they are doing what I'm searching.

But thanks anyway, I will try to read the sources again.
Btw, I readed these clients/bots:
- Eggdrop
- Irssi
- Xchat
- RockBot (something that I'm searching, but I don't understand it 100%)
- A few irc-deamons
- Q and L (IRC Services on Qnet)

And answering on nibber:
I'm started already with a client, but having problems with those structures
I can't find any tutorial that talks about nested structures on the way I need it
 
Old 11-14-2003, 05:12 PM   #5
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Long ago(ok ok 2 years ago) i coded a complete irc bot in C++ well in the end it was more of an automated irc client seeing as it had a GUI It was for windows though

Ask your questions though and i will try to answer them... I might just open up my compiler and write a simple irc bot though since many people here seem to want to see an example...

Last edited by Stack; 11-14-2003 at 05:15 PM.
 
Old 11-14-2003, 05:18 PM   #6
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Hm, oke.. then I will ask again when I'm in trouble
Mara already helped me alot

(I found a lot information in the source of L (IRC Service), maybe that can help me)
 
Old 11-14-2003, 05:30 PM   #7
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 31
To make an IRC client in C, all you really need to know is how the IRC protocol works (RFCs 2810-2813) and how to do socket programming...then it's simply a matter of parsing the data sent and giving appropriate responses.
 
Old 11-15-2003, 02:59 AM   #8
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Kurt, as I sayed before, I don't have problems with that
I programmed already more then 10 IRC Bots without any problem

But anyway, I found a good tutorial on internet about linked lists and they talk about something that I undestand PLUS they have graphics as well that explain it better then only text
For the users that want support for linked lists as well or nested structures, read this url:
http://www.wiu.edu/users/mflll/351/C...ListIntro.html
Or just check all the tut's on the website:
http://www.wiu.edu/users/mflll/351/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Irc Client Haggis Linux - Newbie 12 01-11-2005 11:15 AM
I need an IRC client zozeer General 5 12-03-2004 05:02 AM
non-x IRC client CletusJones Linux - Software 8 10-03-2004 09:10 PM
How speak irc client and irc server program? mech Linux - Networking 1 03-31-2004 05:23 PM
IRC Client Whitemagician Linux - Software 7 08-20-2003 02:23 PM


All times are GMT -5. The time now is 04:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration