hope someone could explain to me idea behind the concept of client/server application.
ex.
Client sends several files to the listener application on the server one by one and waits for the response from the server before it sends the next file.
Server application will process each file from the client and sends back a reply to client after each successful file processing. listener app should wait until all files are process sent by the client.
My question is how do the listener applciation determine if the request from the client is a new request or if it should be running on the same thread... assuming that the server application accepts multithreads.. meaning two separate clients can send files to the server at the same time.
Many thanks!
ex.
Client sends several files to the listener application on the server one by one and waits for the response from the server before it sends the next file.
Server application will process each file from the client and sends back a reply to client after each successful file processing. listener app should wait until all files are process sent by the client.
My question is how do the listener applciation determine if the request from the client is a new request or if it should be running on the same thread... assuming that the server application accepts multithreads.. meaning two separate clients can send files to the server at the same time.
Many thanks!