473,548 Members | 2,604 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2335
In article <E0************ *************** *******@microso ft.com>, 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.Sock ets. 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*@discussion s.microsoft.com > wrote in message
news:E0******** *************** ***********@mic rosoft.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
2052
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 local network. I have tried to use File.Copy and it seems to work fine, but I need to show a progress while copying the file (very large file) and...
6
2117
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 and run by the user...does Access drag the whole million records across the LAN when we call up one record ie filters for that record locally? If...
14
1182
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 installer from a hidden share on the network. We want a server app that we can run somewhere that will be able to send the necessary info to the...
2
2670
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 computer of the network so that each computer running the application links to the data located on the host.
1
1085
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, WMI, Win32 across a local LAN network? I think I can do it with .NET remoting, by serializing the data in an array from the ListView box and...
15
8382
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 (asynchronously). Then it repackages these UDP packets and sends them to a subscriber via TCP. Now, I can read the UDP stream all day long without the...
2
1593
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 workstation is online and red light image if offline, this is my coding: <% Response.Buffer = true %> <% url = "192.168.0.1" Set objWShell =...
3
2640
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 include additional users on the network. Additional wireless users are supported just by being in the immediate physical span of the network. A...
0
7512
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7803
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6036
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3495
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3475
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.