Discussion Locked

Broadcasting Datagrams

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hai,
Please provide me with some working code that broadcasts a datagram over the local area netwrok. I have tried using setsockopt but it gives me error if I set the SO_BROADCAST FLAG AT THE SOL_SOCKET LEVEL. I will be grateful to you if you get me out of it. I am using pure socket interface, on unix.
Thank you

1 reply

by nico baggus

You didn't tell what error it gives,
doy also send it to the network broadcast
address? (see your ifconfig -a command for it)
please suply more info

This discussion is closed to new replies.