Server response on client connect
I think this may be trivial, but lets say for the sake of simplicity that I want to have a client & server in java. And it isn't going to do a task until the server says it can, lets say give a "Hello World" every 5 seconds.
I want the client to connect and wait for the go ahead to start sending the string. Then once it is going, wait for the server to say STOP to cease the hello world sending to the server.
I have searched for nearly a week, looked at sample examples but do not know where to begin, surely I can treat this like a normal socket? Not entirely sure. Any help or stearing in the right direction is appreciated. If I am to vague please correct me. I have a very good concept of sockets in other languages, it's just I'm new to java and trying to learn this all out. Sample code is appreciated.
- Travis

