[Israel.pm] problem with send()

Yuval Yaari yuval at windax.com
Mon Jan 9 11:43:01 PST 2006

Levenglick Dov-RM07994 wrote:
> Hi,
> I am constantly getting this message "couldn't send DHCP reply (Unknown error)" from the attached script. Does anyone know how I can get some more information on why this is failing? I assume that it is to do with the fact the socket is not connected; however I can't connect to a DHCP client since its IP address has not yet been assigned. 
> If I am totally off track, please tell me. Either way, HELP!!!
Just wondering: why are you using MSG_DONTROUTE?
Are you tcpdump-ing or anything (in that case, give us some output), or 
just letting $! be your guide? :)

I'd also try to use some of the examples from Net::DHCP::Packet's 
perldoc, see if they work first.

Sorry I can't be of more help...


More information about the Perl mailing list