By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Client & Server Design

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"whit0489" <s.*********@surity-dot-net.no-spam.invalid> wrote in message
news:40********@Usenet.com:
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


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.