C++ Irc Bot

Discussion in 'Programming General' started by AconRH, Dec 2, 2013.

C++ Irc Bot
  1. Unread #1 - Dec 2, 2013 at 6:35 AM
  2. AconRH
    Joined:
    Feb 18, 2013
    Posts:
    24
    Referrals:
    0
    Sythe Gold:
    0

    AconRH Newcomer

    C++ Irc Bot

    Hey, Anyone know any free tutorial for free C++ tutorials on Irc Bot programming?


    Thanks!
     
  3. Unread #2 - Dec 2, 2013 at 11:44 PM
  4. leoPrez
    Joined:
    Feb 19, 2013
    Posts:
    103
    Referrals:
    0
    Sythe Gold:
    0

    leoPrez Active Member
    Banned

    C++ Irc Bot

    interested also
     
  5. Unread #3 - Dec 3, 2013 at 10:54 PM
  6. Kimiko
    Joined:
    Nov 30, 2013
    Posts:
    15
    Referrals:
    0
    Sythe Gold:
    0

    Kimiko Newcomer

    C++ Irc Bot

    An IRC bot follows mainly UDP protocol. It wouldn't require so much of a tutorial as understanding basic sockets. Depending on the platform you're on, function arguments will slightly differ. The main functionality you're looking into are.
    getaddrinfo: Which will allocate memory for a struct that holds information about the host server and creating the socket.
    socket: Which will create the socket given the struct returned from getaddrinfo.
    connect: Which will connect the socket to the server.
    Once connected, all that's left to do is check the buffer supplied to recv, for specific commands.
    You can send a buffer using the send function.
     
  7. Unread #4 - Mar 7, 2014 at 11:06 AM
  8. AwT
    Joined:
    May 4, 2007
    Posts:
    45
    Referrals:
    0
    Sythe Gold:
    0

    AwT Member

    C++ Irc Bot

    I highly suggest that you conduct a Google search before posting.
    There are a lot of resources out there.
     
< Starting off with Programming... | Java help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site