Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: UDP-Broadcast with socket

by ikegami (Patriarch)
on Jan 12, 2009 at 17:30 UTC ( [id://735748]=note: print w/replies, xml ) Need Help??


in reply to UDP-Broadcast with socket

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2025-07-15 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.