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 CjStaal, Jul 27, 2006.

  1. CjStaal

    Joined:
    Dec 14, 2005
    Messages:
    1,767 (0.44/day)
    Thanks Received:
    91
    Location:
    Calverton, 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 :(
     
    10 Year Member at TPU
  2. Dippyskoodlez

    Joined:
    Jul 1, 2005
    Messages:
    5,179 (1.24/day)
    Thanks Received:
    280
    Location:
    Kansas City, KS

    Yay, progress. Now whats it use to communicate? *is interested*.
     
    10 Year Member at TPU
  3. CjStaal

    Joined:
    Dec 14, 2005
    Messages:
    1,767 (0.44/day)
    Thanks Received:
    91
    Location:
    Calverton, 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
     
    10 Year Member at TPU
  4. POGE

    POGE New Member

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

    Joined:
    Jul 1, 2005
    Messages:
    5,179 (1.24/day)
    Thanks Received:
    280
    Location:
    Kansas City, KS

    Are you using a dedicated server to communicate and clients connect to it?
     
    10 Year Member at TPU
  6. pt

    pt not a suicide-bomber

    Joined:
    Mar 11, 2006
    Messages:
    8,979 (2.29/day)
    Thanks Received:
    207
    Location:
    Portugal
    (a bit off topic)
    Does MSN works on LINUX?
     
    10 Year Member at TPU
  7. CjStaal

    Joined:
    Dec 14, 2005
    Messages:
    1,767 (0.44/day)
    Thanks Received:
    91
    Location:
    Calverton, 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 by a moderator: Jul 28, 2006
    10 Year Member at TPU
  8. Dippyskoodlez

    Joined:
    Jul 1, 2005
    Messages:
    5,179 (1.24/day)
    Thanks Received:
    280
    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:
     
    10 Year Member at TPU
  9. CjStaal

    Joined:
    Dec 14, 2005
    Messages:
    1,767 (0.44/day)
    Thanks Received:
    91
    Location:
    Calverton, 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
     
    10 Year Member at TPU

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