I think you're suppose to send to INADDR_BROADCAST but listen on INADDR_ANY (or whatever) as normal.
Your seem to have posted your server code twice?
By the way, IO::Socket::INET provides a cleaner interface.
In reply to Re: UDP-Broadcast with socket
by ikegami
in thread UDP-Broadcast with socket
by strat
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |