Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: perl udp broadcast

by rowdog (Curate)
on Jul 11, 2010 at 22:22 UTC ( #848890=note: print w/ replies, xml ) Need Help??


in reply to perl udp broadcast

Are you saying that you get your address and gateway from a DHCP server and that you would like to send a UDP packet to the broadcast address? If so, then sure, check out IO::Socket::INET.

If you want to do the above, but get the packet routed past the gateway, well, most routers won't pass a broadcast packet along so you're probably out of luck unless you can configure your gateway to pass it along, which is generally a bad idea.


Comment on Re: perl udp broadcast

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://848890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-11-23 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls