in reply to perl udp broadcast

I want to make little broadcast config application. Clients will broadcast their ip addresses periodically server will listen for packets. The problem comes from there that I can't send broadcast packets without to have ip address on the network interface. Maybe Net::RawIP can help me???

Replies are listed 'Best First'.
Re^2: perl udp broadcast
by rowdog (Curate) on Jul 12, 2010 at 23:30 UTC

    Sounds like a reverse DHCP. Since you don't have an IP address, you'll have to send at a lower level. I haven't used Perl for much below the layer of IP but if Net::RawIP doesn't work out for you Net::Frame and Net::Frame::Layer::Eth or Net::Write might be useful.

      Thanks I will try