0

Ok, so I'm writing a chat client/server and both the client and server are multithreaded to accept user input and read from the socket at the same time. Since it can do both at the same time, I'm trying to overcome the problem of the user typing in a message, and a message being read into the socket at the same times. When this happens, the message read in is place right after the message the user is typing. I figured the way to fix this was to make a separate line at the bottom of the page like the "Manual Page blahblahblah" thing at the bottom of the man pages. I have no idea how to do this though, and I don't know what it's called, so I don't even know where to start looking.

If somebody can help me, like give me a class or method or even just what this is called so that I can try to figure this problem out, I would be very grateful!

Thank you!

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by NormR1
0

Then the program will have to compete with the user for control of the contents of the console window.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.