UDP broadcast issue

UDP broadcast issue

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



Hi all,

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

The issue is that I can send broadcast datagrams, but I can't receive
them
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

Hello

I want to forward udp broadcasts across network.
example :

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

the host is a redhat linux "firewall"

do you have any idea ??
thanks

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