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

Broadcasting UDP datagrams

Hello,

I am writing a WinForm application that will broadcast a UDP datagram to
multiple of embedded controllers. The controllers in return will send a
response to the WinForm application.

When I create the WinForm socket and assign the remote IP to the broadcast
IP ( “192.168.1.255” or “255.255.255.255” or “0.0.0.0”) and send the
broadcast datagram I find out that the embedded controllers receive the
datagram and response to the IP address that it came from (in my case
“192.168.1.100”). However the WinForm application does not receive (or
ignore it since the socket is open for the broadcast IP!?) the response from
the embedded controllers.

Any idea how can I solve that problem?

Thanks
EitanB

Oct 16 '07 #1
1 2364
Eitan wrote:
[...] the embedded controllers receive the
datagram and response to the IP address that it came from (in my case
192.168.1.100). However the WinForm application does not receive (or
ignore it since the socket is open for the broadcast IP!?) the response from
the embedded controllers.

Any idea how can I solve that problem?
Use a different socket, not configured for broadcasting, to receive the
responses.

Pete
Oct 16 '07 #2

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

Similar topics

3
by: david | last post by:
Hi, I would like to allow users to listen to live radio broadcasting within my ASP page, is this possible? Can you show me some code? Thanks in advance David
2
by: Claire | last post by:
I'm implementing a UDP server socket from the system.net.sockets.socket class. (no, I don't want to use the udpclient class) I'm polling the socket in a thread, testing the socket.available...
1
by: Sypher | last post by:
Is there a way to monitor datagrams/sec (or some other measurement of data flow) coming from each IP address to the server? Currently the server has 10 static IP addresses (workstations) connected...
4
by: Rain | last post by:
Hi, I have this problem in my UDP broadcasting, im a newbie in UDP, any help at all would be very much appreciated. I have a working UDP broadcast that sends and recieves without any problem. I...
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...
1
by: Rain | last post by:
in UDP broadcasting, how do i know from which client was the message sent to the server? is there a way to know this without having to place the IP of the sender in the message itself? Thank you so...
0
by: Johan | last post by:
Suppose: There are two devices on my network that both broadcast UDP datagrams (and they both use the same portnumber 1234). I want to create two executables that use UdpClient internally. Each...
0
by: riaancillie | last post by:
I apologize in advance since this isn't strictly the most appropriate group to ask this question in. I am using a Socket to broadcast UDP datagrams as such: FSocket.EnableBroadcast = true;...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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: 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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.