synchronisation problem?

Danmilkman

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

I'm 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, get's 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 I've been studying .NET for just about a month so not very skilled in it yet.

Thnx.

D.
 
Back
Top