Client & Server Design

  • Thread starter Thread starter whit0489
  • Start date Start date
W

whit0489

Im looking for an opinion on design rather than help with code

my problem is: i have a vb.net windows service running, with a client
that connects to it via a socket
the client send's every second, a request for progress info from the
service
i have a listbox on the client that i do not know how to populate
the service writes a progress string of GUI info to the client. THis
is ok for labels and stuff
but with the listbox progress info, the service might write 10 add's
in one second, but my app only receives the latest one
hence not every message gets put into the listbox
i need to implement some kind of queue
but dont know whether to say write out the DB, an XML, another
filetype or use .net message queuing
Maybe i could even use windows handlers. The client can say send the
win handler to the service, and the service based on the handler
could write to the listbox somehow
Just wondering what would be the best way to do this
 
It really depends. How many clients? How long between requests? How
critical is guaranteeing that the client gets all the status
information? How much data is in each message? All of these affect the
design.

HTH

David
 
Back
Top