473,378 Members | 1,609 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,378 software developers and data experts.

send signal across network(LAN)

Jon
Hi,

in my program, i want to send a signal to other computer on the network (LAN).
so that when other recieves this signal, it will do something...

What Class should I use for sending the signal?
Is there any example code i can find?

thankyou very much in advance!
Nov 21 '05 #1
3 2326
In article <E0**********************************@microsoft.co m>, Jon wrote:
Hi,

in my program, i want to send a signal to other computer on the network (LAN).
so that when other recieves this signal, it will do something...

What Class should I use for sending the signal?
Is there any example code i can find?

thankyou very much in advance!


There are lots of ways to accomplish this... One common method would be
to use a socket. Look at System.Net and System.Net.Sockets. A good
place to start with .NET sockets:

http://msdn.microsoft.com/library/de...consockets.asp

Another method would be remoting. It's also possilbe to use the
Microsoft message queue or even using named pipes. Like I said, there
are many ways to accomplish what your trying to do. You just need to
figure out what is the best method for your particular application.

--
Tom Shelton [MVP]
Nov 21 '05 #2
You can do this using Windows sockets.

Look around on Google for one of the various (there are several) VB.NET
examples using TCP to chat across a network. The same thing can be done to
send messages. This should be good if you are doing simple point to point
communications, even if it is one server sending a command to a single
endpoint or a single endpoint in a pool of possible endpoints.

If you want to send out a broadcast type message from one point to several
endpoints at the same time take a look into UDP Multicasting. I can't seem
to locate any good samples of this right now but I know I have seen some out
there.

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hi,

in my program, i want to send a signal to other computer on the network (LAN). so that when other recieves this signal, it will do something...

What Class should I use for sending the signal?
Is there any example code i can find?

thankyou very much in advance!

Nov 21 '05 #3
Jon
ok, thanks alot, i will try do more search.
Nov 21 '05 #4

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

Similar topics

1
by: sleepyant | last post by:
Hi, I am making a simple backup program where the files selected can be transfered from a source to a destination. The source/destination could be inside user's own PC or a different PC within a...
6
by: Damon Grieves | last post by:
Hi I just want to be sure I understand how the Access client works. If I have an Access back end with a million records on a server and an Access client. If the client is installed on the users pc...
14
by: Adrian Parker | last post by:
For deployment reasons, we don't want to have to install our large app on each network client manually; we'd like to have our users run a very small app on their clients that basically runs the main...
2
by: GGerard | last post by:
Hello I have just started using an application on a network(LAN) with multiple users I have the front end installed on different computers and the back end (data) installed on the host...
1
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I have a VB.NET 2005 application that reads various WMI, Win32 and Registry Keys. I would like to know if there is an EASY way to read registry,...
15
by: dennis.richardson | last post by:
Greetings all. Here's a problem that's been driving me nuts for the last 48 hours. I'm hoping that someone has come across this before. I have a C# Application that reads a UDP broadcast...
2
by: jhayzapi | last post by:
Guys, im just a newbie here, i have a school project and its a web-based project that scans all Internet Protocol (IP) in a Local Area Network (LAN) and displays a green light image if the...
3
by: anganb | last post by:
Local Area Network (LAN) Both an EtherNet (wire) network and a wireless network are referred to as a Local Area Network (LAN). A wireless network does not require hubs, switchers, or routers to...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.