permission denied when sending broadcast UDP...

Página Principal
Anexos:
Mensagem como email
+ (text/plain)
Apagar esta mensagem
Responder a esta mensagem
Autor: Nick Estes
Data:  
Assunto: permission denied when sending broadcast UDP...
I'm writing a little program in perl to configure netgear's me102 access
point, and I'm having a problem discovering them on the network. The way
to do it is with a broadcast snmp request, but I get a permission denied.
(it's not a root thing, root has the same problem)

I believe it is because the udp socket needs to have the SO_BROADCAST flag
turned on, so I edited the Net::SNMP module to call setsockopt with that
flag, but it didn't seem to cure the problem. Any ideas?

    --Nick