http://www.perlmonks.org?node_id=735781


in reply to UDP-Broadcast with socket

You really shouldn't send broadcasts since they clutter the network and can be considered intrusive. If you have a valid reason to use broadcasts you really should open a socket for sending with INADDR_BROADCAST. On the server side you can catch the broadcasts by listening to the broadcast address or INADDR_ANY.

--
seek $her, $from, $everywhere if exists $true{love};