-
IRC Question
Well I have managed to connect my application to IRC. I have everything setup but just a couple more things. How would I make it so a listbox shows the names of all of the users in the channel and how would I make a label say like "10 User(s) Connected"? Also this is in Visual Basic 2005 Express Edition.
-
Re: IRC Question
This may be helpful. RFCs are your friend.
As far as making a label, once you learn the commands to talk to IRC, the label would be easy as one, two...oh what was the last one? Four? ;)
Or even google around if you don't want to read a boring RFC, there is always here
-
Re: IRC Question
Thanks for your help but that RFC is confusing. Is there any other suggestions? Because I searched google a lot and it came up with nothing.
-
Re: IRC Question
You need to understand the protocol that IRC uses in order to write a proper IRC client. RFCs is an excellent source for all your protocol needs ;) You could try your luck by googling for something along the lines of "IRC protocol" too.
-
Re: IRC Question
I'm very experienced in client/server/Winsock programming, and personally, I hate RFCs. They make things more confusing than they need to be for, I guess, the sake of conforming to "standards".
You should look at either the data received within the DataArrival event (this is VB6/Winsock right? Or something else?), and use some common sense/logic on how to figure out who the users are and how many.
There are also a lot of IRC examples at:
http://www.pscode.com
I've only briefly messed with the IRC protocol so I can't say from memory.
You can also google for "IRC Protocol Specification -RFC" and you might find an article by someone that is easy to follow and understand.