473,407 Members | 2,306 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,407 software developers and data experts.

Broadcasting update information on the network

Hi,

I have a master application which processes data extracted from eMails.

Then there a up to ten clients in the network. I have to find a way how
I can notify the clients to update after the database was changed, or if
there was a change on the master app.

I was thinking of using named pipes or a broadcast package, that is sent
to all clients.

Does anybody have a code snippet for me how to implement a named pipe
and / or a broadcast function and a reader for this packets. I couldn't
find any example yet, even MSDN makes this hard to do for me!
Thanks for your help in advance,

Martin
Nov 16 '05 #1
5 1398
Hi,

Can you live with the client polling the server regularly? , this is the
easiest solution and may be all you need.

Cheerrs,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"mphanke" <mp*****@nospam.nospam> wrote in message
news:ez**************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a master application which processes data extracted from eMails.

Then there a up to ten clients in the network. I have to find a way how
I can notify the clients to update after the database was changed, or if
there was a change on the master app.

I was thinking of using named pipes or a broadcast package, that is sent
to all clients.

Does anybody have a code snippet for me how to implement a named pipe
and / or a broadcast function and a reader for this packets. I couldn't
find any example yet, even MSDN makes this hard to do for me!
Thanks for your help in advance,

Martin

Nov 16 '05 #2
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

Can you live with the client polling the server regularly? , this is the
easiest solution and may be all you need.

Cheerrs,

Sounds good to me! Do you have a snippet for me?? I'm really stuck on
this one!

Thanks,

Martin
Nov 16 '05 #3
Hi,

Snippet of what?
how to make a network connection?

What ou have to do is create a protocol, this protocol needs to has way for
the client to know when the server data changed, I have a similar approach
with a client working on a PPC and a windows service, the PPC client ask
for the "version" of a dataset ( "products info" ) if the server has a
different version number it download the data, the server change the
"version" each time it import it from an external system (SBT).

Take a look at gotdotnet.com they have examples of network programming there

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"mphanke" <mp*****@nospam.nospam> wrote in message
news:O1**************@tk2msftngp13.phx.gbl...
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

Can you live with the client polling the server regularly? , this is the easiest solution and may be all you need.

Cheerrs,

Sounds good to me! Do you have a snippet for me?? I'm really stuck on
this one!

Thanks,

Martin

Nov 16 '05 #4
Hi Martin,

Yes, you may let the client automatically communicate with server to query
the newer version when launching up.

You can get this done through TCP socket classes. When client application
lauching up, you should let it connect to the server to query if the new
version existed. If the newer version existed, the server should pass the
new version file url through socket to the client. Then, the client can use
WebClient.DownloadFile method to download the files.

So all needed is socket communication. For more information, please refer
to socket and tcp programming in MSDN.

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #5
Hi Martin,

Does our reply make sense to you? Do you still have any concern on this
issue?

Please feel free to feedback. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mstjean | last post by:
Beginning to look at the mechanics of deployment at our site for our new project, our first in .NET. Management insists all apps will run from the network, not from desktops and we've managed to...
2
by: joo | last post by:
Hi! I need to implement something similar to "Automatic Update" feature which we see in windows 2000. We need this support for our software, basically to provide the software update. How can I...
6
by: Sparticus | last post by:
I have a database that isn't very big. It has about 2400 rows in it. I try and do an update like this one below (it looks big, but it's really not if you look at it) : UPDATE jobs SET...
1
by: Naveen Mukkelli | last post by:
Hi, I'm writing a server application which uses TCP sockets. In real time, there would be about 4000 clients connect to this server app. I need to broadcast a packet regularly to make sure all...
20
by: Janaka | last post by:
I tend to use the SqlDataAdapter class in WinForms projects because once the inital data is loaded any modifications can be easily added/updated through a call to the Update() method. I've found...
2
by: Islamegy® | last post by:
Hiiiiiii I'm working on a client server application which work like messnger.. I was able to capture the camera with no problem but now i want my my program to listen to incoming connection and...
0
by: salman | last post by:
hello i have client network (LAN) connected with server, and some client connected to server via RAS (Remote Access Service) and makes VPN. My problem is that when i broadcast message to...
2
by: hotflash | last post by:
Hi Master CroCrew, I found a good PURE ASP that will allow you to upload 10MB file to the server and the file contents such as Network, Author, Title, etc... will insert to MS Access at the same...
1
luckysanj
by: luckysanj | last post by:
Dear Sir, Can you give me idea about Live Radio Broadcasting. I want to implement the Live Radio Broadcasting link on my web page to play radio on live. So i need basic php code for this. Your...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.