I have some pretty simple UPD code. (It has to be simple, I’m new at ASIO)
boost::asio::ip::udp::resolver::query query(boost::asio::ip::udp::v4(), addr, port);
m_receiverEndpoint = *m_resolver.resolve(query);
If my address is 192.168.1.112 everything works
If my address is 192.168.001.112 it doesn’t work and throws an exception about not finding the host.
It’s not a big deal, but it sure took me a long time to track down.
Is there some sort of Boost magic I can do to convert the bad address into a good address?
Thanks,
John