1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Wrote an instant messenger

Discussion in 'General Software' started by Cj_Staal, Jul 27, 2006.

  1. Cj_Staal New Member

    Joined:
    Jun 28, 2006
    Messages:
    538 (0.17/day)
    Thanks Received:
    6
    Location:
    New York
    woot! The only problems are
    1)Client has to intiate conversation and it can't send 2 messages in a row, has to wait for server response.
    2)No spacebars :(
     
  2. Dippyskoodlez

    Joined:
    Jul 1, 2005
    Messages:
    5,095 (1.42/day)
    Thanks Received:
    238
    Location:
    Kansas City, KS

    Yay, progress. Now whats it use to communicate? *is interested*.
     
  3. Cj_Staal New Member

    Joined:
    Jun 28, 2006
    Messages:
    538 (0.17/day)
    Thanks Received:
    6
    Location:
    New York
    TCP/IP :) ahduh lol
    Anyways, it's a real tiny program, about 57 lines in C++ for both client and server but I'm going to keep adding on to it
     
  4. POGE

    POGE New Member

    Joined:
    Oct 28, 2005
    Messages:
    1,724 (0.50/day)
    Thanks Received:
    35
    Location:
    In banjo's Goats.
    Post it up here... source maybe?
     
  5. Dippyskoodlez

    Joined:
    Jul 1, 2005
    Messages:
    5,095 (1.42/day)
    Thanks Received:
    238
    Location:
    Kansas City, KS

    Are you using a dedicated server to communicate and clients connect to it?
     
  6. pt

    pt not a suicide-bomber

    Joined:
    Mar 11, 2006
    Messages:
    8,981 (2.70/day)
    Thanks Received:
    208
    Location:
    Portugal
    (a bit off topic)
    Does MSN works on LINUX?
     
  7. Cj_Staal New Member

    Joined:
    Jun 28, 2006
    Messages:
    538 (0.17/day)
    Thanks Received:
    6
    Location:
    New York
    na no dedicated server for a small-ass program :)
    Anyone who wants the source PM me and I'll give it to you... it's nothing special at all... no nodes, vectors, or anything of that sort...

    YEs, msn works on linux... use GAIM

    Using a dedicated server for everything would be a good idea.... hmm mine is just someone starts the server and the client connects and has a conversation... I wouldn't know where to start for multiple connections to a single server with a database of all users and shit like that woah... or something along those lines or a server for central communication
     
    Last edited: Jul 28, 2006
  8. Dippyskoodlez

    Joined:
    Jul 1, 2005
    Messages:
    5,095 (1.42/day)
    Thanks Received:
    238
    Location:
    Kansas City, KS

    ahh I see.. your method is great for a 1 on 1 chat, but having many users, it'd be a pain.. :eek:
     
  9. Cj_Staal New Member

    Joined:
    Jun 28, 2006
    Messages:
    538 (0.17/day)
    Thanks Received:
    6
    Location:
    New York
    :( yeah I know, i think when I have more extensive knowledge I'll be programming alot more complex chats.... this is just for learning
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page