synchronisation problem?

Danmilkman

Active member
Joined
Nov 10, 2003
Messages
27
Location
@home
hai everybody,

Im trying to build a client/server application. I have only one problem. The client sends a request (ex. GetStuffFromDatabase()) and the server than executes this command, gets data from a database (by odbc connection) and sends the result back to the client. The client than parses the result into readable chunks. However, the next command is allready send to the server before the result has been parsed.

How can I keep my client/server waiting until another function of process has finished before sending a new request?

Thnx in advance, really need help. The app. is being build in vb.net and Ive been studying .NET for just about a month so not very skilled in it yet.

Thnx.

D.
 
Back
Top