in reply to Socket Listen/Send DHCP

I freely admit to cargo-culting this, but I use the following in POE::Component::DHCP::Monitor to put the sockets into promiscuous mode.

setsockopt( $dhcp_socket, SOL_SOCKET, SO_BROADCAST, 1 );

Replies are listed 'Best First'.
Re^2: Socket Listen/Send DHCP
by maclaren_sg (Initiate) on Oct 12, 2008 at 01:41 UTC
    Thanks, but isn't there a way to solve the problem istead of working around?
    Kind of messy, and the thing lies with Sock::INET, when PeerAddr is set, it will only listens to packets with its own IP.