jhoanofarch
June 12th, 2007, 10:31 PM
hi could any tell me the idea behind the client/server side application?
Assuming the server side application accepts multithreading, how will will the application knows if a request from the client is new or if the request should be running on an existing thread?
Example will be. the client sends several files to the listener application on the server one by one and the listener application should process each file and send a reply back to client each time the application finishes processing a particular file.
So client waits for the response from the server before the client application sends the next file.
Hope someone could explain how this work.... a sample code could help a lot.
Thanks!
Assuming the server side application accepts multithreading, how will will the application knows if a request from the client is new or if the request should be running on an existing thread?
Example will be. the client sends several files to the listener application on the server one by one and the listener application should process each file and send a reply back to client each time the application finishes processing a particular file.
So client waits for the response from the server before the client application sends the next file.
Hope someone could explain how this work.... a sample code could help a lot.
Thanks!