I want to create a small application that will send some info over the network.
My problem: When the client must log into the server, it will be sending some information to the client, this is done by sending short texts to the client. But if the server only be pouring in with these little texts client fails to capture all the information. I therefore want to have the client to say that it is ready to receive the next text. Is it possible to get the server to do this? The thread got to be paused or something similar before the next prompt is sent. Can a line waiting for something to happen before it continues? For example, for a loop or similar.
This was a very strange explanation, I hope some of you get something out of this. Its grateful for any responses that may contribute to the problem solved
Bookmarks