Click to See Complete Forum and Search --> : how to determine if the request from the client is new request?


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!

TheCPUWizard
June 12th, 2007, 10:36 PM
Most common method is to use TCP Sockets. Do a search on "TCP Socket Connection". Lots of good info right here on Code Guru :wave: :wave: