|
Boost Users : |
Subject: Re: [Boost-users] [ASIO] Resolver question
From: Davies, John (john.davies_at_[hidden])
Date: 2016-02-24 18:24:11
I can do that. I have it in a masked text box but really a regular text box would be just as good for this application.
-----Original Message-----
From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Gavin Lambert
Sent: Wednesday, February 24, 2016 6:00 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [ASIO] Resolver question
On 25/02/2016 11:36, Davies, John wrote:
> 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?
Can you change whatever is formatting the address incorrectly in the first place? I can't think of any system function that would generate addresses in that format, so presumably that's coming from something app-specific.
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net