Results 1 to 5 of 5

Thread: IRC Question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Posts
    207

    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.

  2. #2
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Posts
    207

    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.

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    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.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width