473,395 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Client & Server Design

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
1 1021
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: rdh | last post by:
Hi all, I am in process of developing a Server in C++ supporting multiple protocols. The server will be exposing various functionalities, and the clients can communicate over any of the...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
67
by: Mike MacSween | last post by:
I've got a SQL Server database. Nearly finished. It's going to go on a single non networked machine. One day somebody might get access to it over ADSL (probably TS), but for now it's a single user...
7
by: rob | last post by:
I want to create an application that can be used both for a server-client model as well as a standalong application. The idea is to write a general server-client application. The standalong then...
10
by: Betina Andersen | last post by:
I have inherited a VB.NET dll that I am using from common asp. My problem is to get the messages from the dll to the Ie client, I can see the messages in the Eventlog on the IIS server so I know...
3
by: sklett | last post by:
I need to add extensive validation and interaction client scripting to a web form. I've done some initial searches for "asp.net and client scripting" and I've found a couple articles that show...
6
by: Simon Harvey | last post by:
Hi everyone, We have a need to make a Windows Forms (2.0) client application that will be installed on our clients site. The data that the application uses needs to be centrally available to a...
4
by: Olivier Matrot | last post by:
Hello, I have a problem with an ASP.NET 2.0 Application. A client request is processed in parrallel by two threads. This ends with the following exception : <Source>System</Source> <StackTrace...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.