PC Review


Reply
Thread Tools Rate Thread

Client & Server Design

 
 
whit0489
Guest
Posts: n/a
 
      14th Jul 2004
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

 
Reply With Quote
 
 
 
 
David Williams , VB.NET MVP
Guest
Posts: n/a
 
      14th Jul 2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed):
> 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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
design for socket server and client as a service Jonathan Microsoft Dot NET 0 3rd Dec 2009 11:14 PM
Looking for design pattern - client to server Lloyd Sheen Microsoft ASP .NET 0 30th Oct 2007 04:32 PM
Client\Server Communication Design Jeff Microsoft Windows 2000 Networking 0 30th May 2006 10:02 PM
client / server design advice yofnik@comcast.net Microsoft Dot NET Framework 3 31st Mar 2006 06:32 PM
Advice On Server-Client Application Design Randy Cox Microsoft VB .NET 2 31st May 2005 01:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:21 PM.