UDP broadcast issue

UDP broadcast issue

Post by vtstm » Wed, 24 Jun 2009 22:29:01

Hi all,

I have a local network
On this network, I have 3 nodes, and
On node 192.168.1.x, I have a UDP socket that binds to node
From node, I want to send broadcast datagrams (address and receive those datagrams on nodes and ONLY

The issue is that I can send broadcast datagrams, but I can't receive
I'm able to receive broadcast datagrams only if I bind my UDP socket
to address INETADDR_ANY, but in this case, I receive broadcast
datagrams that I send

Is it possible to receive broadcast datagrams with binding my UDP
socket to local address 192.168.1.x?

Thank you in advance.


1. udp broadcast forwarding


I want to forward udp broadcasts across network.
example :

on eth0
i have bcast on port 1234
and i want redirect udp packets
on eth1 on port 1234

the host is a redhat linux "firewall"

do you have any idea ??

2. RPM for XFree86 v3.3?

3. UDP port broadcasting

4. How many incomming connections

5. broadcasting using UDP

6. Need Most RECENT Hardware Compatibility List

7. UDP broadcast server-client example.

8. KDE2 Upgrade Problem - Easy ?

9. code needed for UDP broadcast

10. UDP Broadcasts Doesn't ?????

11. UDP broadcasting & multiple interfaces

12. Socket Programming - Broadcasting with UDP

13. UDP Broadcasting