in reply to Re: how can I set LocalAddr to INADDR_ANY in IO::Socket::INET
in thread how can I set LocalAddr to INADDR_ANY in IO::Socket::INET
Yes, I'm trying to simulate a DHCP client to communicate with the server. And normally, when I issue a DHCP discovery request, the Source IP Address should be 0.0.0.0, I haven't seen any discovery packet with a non-0.0.0.0 source address. So if I want to send out a DHCP discovery packet, the SA must be 0.0.0.0.