different requirements on the same server
have a beginner's question :)
Can somebody explain me how to realize this?
in eclipse i made client server communication, where client connects to the server, he accepts and gives him a thread, in thread client request some data from database. When thread done his task, back him result and closing connection.
this is ok! It works!
But need to make that client call server one more time and request to write some data to database. And now i am confused... if i make one more thread for this how server can recognize what client want (which thread)?
Everything is on localhost.
every answer will be helpful