|
I have a Linux application that opens a UDP socket and binds it to a port. I haven't had any problem sending unicast packets through the socket. I had occasion to send a broadcast packet, so I enabled SO_BROADCAST, which allowed the broadcast packets ...
Started by Dave Causey on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I guess you will need to open different sockets if you want to do unicast and broadcast from the same and broadcast....
So if you enable it on your socket this socket will broadcast.
I understand SO_BROADCAST is a socket option.
|
|
Guys i have tried a lot but somehow there seems to be some problem with the code to receive a datagram that is broadcast by a remote host. So could someone please provide me with the code to receive a broadcast message in c#using a udp connection?. Thanks...
Started by Avik on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Ep.ToString()); sock.Close(); } }
Here is a good link for broadcast messaging in C#: Broadcast Messaging.
|
|
How can I get this to work?
Hours of configuring - and no result. Is that possible at all?
P.S. UDP broadcasts are needed by old games for LAN play.
Started by Mad Fish on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Make sure that the "client-to-client" option is turned.
This requires bridging.
Are you using TAP devices?
To communicate by broadcast, all participants need to be in the same broadcast domain.
|
Ask your Facebook Friends
|
I'm working on a project that discovers/configures remote devices using UDP broadcasts. These devices may not have IP addresses configured yet, at least no to match the network they are connected to. Currently we use a single sendto with a target address...
Started by MegabytePhreak on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Nasty problem, unless we.
Enumerate), sending a subnet broadcast to it will never be accepted by its IP stack.
Link-local broadcast and send a separate packet individually via each interface.
|
|
Using .NET, how can I listen to udp broadcast packets sent to .255 on any port without the need of binding to a specific port?
Started by Tronex on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If I really wanted to do this, I'd start by downloading an open source packet sniffer/network analyzer ( Ethereal.com comes to mind) and peruse the source to see how they read the packets... .
I think you'll need to be lower level than UDP to accomplish this .
|
|
Hey all this is my first post on here, was just wondering if perhaps I could benefit from some of your guys experience.
I'm 16 years old from Northern Ireland looking to peruse a career in the media. My question, Is doing a BTEC in Media Studies and then...
Started by GreenVisual on
, 12 posts
by 11 people.
Answer Snippets (Read the full thread at digitalspy):
Welcome to the club - to be honest getting into media in... .
Which area of the media are you wanting to get involved with? Hey,
I'm mark 17 from Northern Ireland .
Do a degree in something that interests you and get involved with the Uni radio/TV stations .
|
|
Hi,
I'm working on a client-server application written in C, I want to broadcast a message to all the machines available in the network. How can I do that using the usual socket system calls in C ?
Thank you!
Started by nour on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use the special address of 255.255.255.255 to send a broadcast message to every computer to the broadcast address of your subnet, which for 192.168.0.0/24 is 192.168.0.255, or just broadcast Datagram Sockets
you have to use....
|
|
Solution for Windows XP or higher. Preferably in C# or else in C++.
We do not want to broadcast using a subnet directed broadcast (e.g. 192.168.101.255) since the device we are trying to contact is not responding to this. Instead, we want to be able to...
Started by harrydev on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You have to craft a different broadcast address.
The broadcast address 255.255.255.255 is too general.
There are various C#.
It might allow you to send low enough on the stack to bypass the full broadcast.
|
|
Hello. I'm working with Microchip's TCP/IP stack and the host name of my device is not being broadcasted, although I can access it using its DHCP assigned IP.
So the question is, what is the protocol that a network device uses to broadcast its host name...
Started by apalopohapa on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In "normal" IP based networks, name resolution would go through... .
There is ZeroConf/Bonjour that offer a "service advertisement" protocol but I am guessing that's not what you are after here .
There is WINS (based on NetBIOS) that supports this functionality .
|
|
The broadcast address is apparently misconfigured on some (old) Linux embedded device that I setup (but that I don't own anymore) because it doesn't match the expected value given the IP address and the netmask (for example, it has a broadcast of 192....
Started by Raphaƫl Hertzog on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Starting investigations on the topic I discovered with strace that changing the broadcast address with ifconfig leads to a supplementary....
Then there's not really much more you can do other than set the broadcast to the right value yourself.
|