Both your programs call recv but who supposed to send?
Update: Ops, ikegami is right, it's server code twice. BTW, there's no need to set SO_BROADCAST on receiving side, it should be set on sender.
In reply to Re: UDP-Broadcast with socket
by zwon
in thread UDP-Broadcast with socket
by strat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |