Chat Client/Server Problems

This is a discussion on Chat Client/Server Problems within the C++ Programming forums, part of the General Programming Boards category; Im will update it in a second...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    99

    Chat Client/Server Problems

    Im will update it in a second

  2. #2
    Registered User
    Join Date
    Jan 2003
    Posts
    99
    Me again with the same program. I am gonna show what is happening at run time in both client and server and what they should be saying.

    Client with problems:
    Choose your IP address:
    first numeral: 66
    second numeral:26
    third numeral: 129
    fourth numeral:93

    Is this the server's IP address? [y/n]
    66.26.129.93
    y
    Enter your user name: nate
    Sending Screen Name
    Name Sent
    : hello everyone
    : hi

    : hello everyone
    : how are you?

    :
    What if should be:
    Choose your IP address:
    first numeral: 66
    second numeral:26
    third numeral: 129
    fourth numeral:93

    Is this the server's IP address? [y/n]
    66.26.129.93
    y
    Enter your user name: nate
    Sending Screen Name
    Name Sent
    : hello everyone
    nate: hello everyone
    : hi
    nate: hi
    : hello everyone
    nate: hello everyone
    : how are you?
    nate: how are you

    Messages are being sent to the one sending the message if you are wondering.

    Server.
    Running...

    Waiting for his/her screen name
    Screen Name Acquired: nate+U.
    Connection recieved from 66.26.129.93 on 80
    There IP is 66.26.129.93
    said something

    What it should be
    Running...

    Waiting for his/her screen name
    Screen Name Acquired: nate.
    Connection recieved from 66.26.129.93 on 80
    There IP is 66.26.129.93
    nate said something
    Attached Files Attached Files

  3. #3
    b0lid
    Guest
    Should there be a pause between each time a person talks?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. receiving problems in network chat client
    By chris285 in forum C++ Programming
    Replies: 5
    Last Post: 01-11-2005, 04:10 AM
  2. Requesting Java Chat Client Maintenence
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-02-2003, 12:57 PM
  3. Chat server/client trial -- anyone interested?
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-23-2003, 09:47 PM
  4. Client/Server chat program! Please Help
    By Silverdream in forum C Programming
    Replies: 2
    Last Post: 03-21-2002, 05:34 AM
  5. Rough Portable Chat Design Sketch
    By ggs in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-27-2001, 07:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21