
4 Mar
2011
4 Mar
'11
12:46 p.m.
On Fri, 4 Mar 2011 13:37:38 +0200, Igor R wrote:
What is the correct way to negate the (default) resolver flag, address_configured?
Well, I know nothing about this flag, but in asio sources we find the following:
# if defined(AI_ADDRCONFIG) && !defined(__QNXNTO__) address_configured = AI_ADDRCONFIG # else address_configured = 0 # endif
So can you just #define AI_ADDRCONFIG 0 ?
I could do but it would be a horrible hack! :o AI_ADDRCONFIG has a perfectly valid meaning - just not a meaning I wish to invoke. Redeffing it to do something else strikes me as a bad idea. Alex -- Easy SFTP for Windows Explorer (http://www.swish-sftp.org)