WSALookup results different with win2000 vs xp
- From: "Davef" <davefxy@xxxxxxxxxxxxxxxx>
- Date: Fri, 4 Nov 2005 14:52:14 -0800
I use WSALookupServicexxxx to make text and hinfo DNS requests. However I
always get good results running on Win 2000 and I sometimes get WSANO_DATA
(from WSALookupServiceNext) running under windows XP.
Has anyone else seen this?
I use the same code/application on both systems but the results differ
testing with the same requests on the same internet connection. Name lookups
always succeed on both. MX lookups work unless there are multiple records in
the response and then I again get WSANO_DATA (from WSALookupServiceNext)
running under windows XP.
I use MSVC++ 6 to create the WIN 32 program.
I have captured the requests and response packets with a sniffer from both
windows systems and they look exactly the same. So it appears Windows XP has
issues with the response format/contents?
If I perform the failing query on Windows XP using socket
connect/send/receive instead of the WSALookupService..., the query will
work.
Thank you very much,
Dave
.
- Prev by Date: Re: High CPU Load when running simple socket app.
- Next by Date: Re: Multithread safety
- Previous by thread: WSAWaitForMultipleEvents returns WAIT_IO_COMPLETION... what should I do?
- Next by thread: Re: How do I trap winsock calls in the runtime...
- Index(es):
Relevant Pages
|
Loading