<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DNS Service Discovery On Windows</title>
	<atom:link href="http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/</link>
	<description>Programming, mostly.</description>
	<lastBuildDate>Wed, 16 May 2012 08:30:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: David M. Cotter</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-505063</link>
		<dc:creator>David M. Cotter</dc:creator>
		<pubDate>Fri, 23 Mar 2012 18:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-505063</guid>
		<description>Oh wow!  This is *just* the hint i needed!  thank you SO much!

The link you need to download the *sources* is this:
http://www.macosforge.org/
right there at the top is the tarball for mDNSResponder.

so simple!  all i did was open the project: 
mDNSWindows/DLL/dnssd.vcproj

then build.  and it worked!  wow!</description>
		<content:encoded><![CDATA[<p>Oh wow!  This is *just* the hint i needed!  thank you SO much!</p>
<p>The link you need to download the *sources* is this:<br />
<a href="http://www.macosforge.org/" rel="nofollow">http://www.macosforge.org/</a><br />
right there at the top is the tarball for mDNSResponder.</p>
<p>so simple!  all i did was open the project:<br />
mDNSWindows/DLL/dnssd.vcproj</p>
<p>then build.  and it worked!  wow!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nelson</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-495652</link>
		<dc:creator>Mark Nelson</dc:creator>
		<pubDate>Tue, 13 Mar 2012 13:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-495652</guid>
		<description>@touchblue:

Must be an update of the SDK - a few of the constants that are passed as arguments have been added as time goes on.

- Mark</description>
		<content:encoded><![CDATA[<p>@touchblue:</p>
<p>Must be an update of the SDK &#8211; a few of the constants that are passed as arguments have been added as time goes on.</p>
<p>- Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: touchblue</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-495240</link>
		<dc:creator>touchblue</dc:creator>
		<pubDate>Tue, 13 Mar 2012 01:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-495240</guid>
		<description>Thanks a lot for your reply. And i use vc2010, the code works.
In the code of ServiceBrowserDlg.cpp, the interface of DNSServiceGetAddrInfo in line 345 has some bad parameter?  The second parameter was set kDNSServiceFlagsForceMulticast by me:)</description>
		<content:encoded><![CDATA[<p>Thanks a lot for your reply. And i use vc2010, the code works.<br />
In the code of ServiceBrowserDlg.cpp, the interface of DNSServiceGetAddrInfo in line 345 has some bad parameter?  The second parameter was set kDNSServiceFlagsForceMulticast by me:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nelson</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-494715</link>
		<dc:creator>Mark Nelson</dc:creator>
		<pubDate>Mon, 12 Mar 2012 11:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-494715</guid>
		<description>My project was built with Visual Studio 10.

Visual C++ 6 is very, very old and so I am not surprised to find that you are encountering errors. 

I&#039;m not sure how far back the MDNS source code works, but my code will no doubt need tons of work in order to compile with VC++ 6.

- Mark</description>
		<content:encoded><![CDATA[<p>My project was built with Visual Studio 10.</p>
<p>Visual C++ 6 is very, very old and so I am not surprised to find that you are encountering errors. </p>
<p>I&#8217;m not sure how far back the MDNS source code works, but my code will no doubt need tons of work in order to compile with VC++ 6.</p>
<p>- Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: touchblue</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-494630</link>
		<dc:creator>touchblue</dc:creator>
		<pubDate>Mon, 12 Mar 2012 09:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-494630</guid>
		<description>Thanks for your demo with my studying bonjour.
When i compile the demo code, there are some errors happened, some like SDKDDKVer.h can not be found. With google, some people said the lib is old with system. I use the visual c++ 6.0 version, and the windows xp. is it this reason?
I test another simple code, but also report errors. The errors happened in the dns_sd.h like:
c:\program files\bonjour sdk\include\dns_sd.h(126) : error C2146: syntax error : missing &#039;;&#039; before identifier &#039;uint8_t&#039;
c:\program files\bonjour sdk\include\dns_sd.h(126) : fatal error C1004: unexpected end of file found

Do you meet with them?
Thanks for your reply :).</description>
		<content:encoded><![CDATA[<p>Thanks for your demo with my studying bonjour.<br />
When i compile the demo code, there are some errors happened, some like SDKDDKVer.h can not be found. With google, some people said the lib is old with system. I use the visual c++ 6.0 version, and the windows xp. is it this reason?<br />
I test another simple code, but also report errors. The errors happened in the dns_sd.h like:<br />
c:\program files\bonjour sdk\include\dns_sd.h(126) : error C2146: syntax error : missing &#8216;;&#8217; before identifier &#8216;uint8_t&#8217;<br />
c:\program files\bonjour sdk\include\dns_sd.h(126) : fatal error C1004: unexpected end of file found</p>
<p>Do you meet with them?<br />
Thanks for your reply :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nelson</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-491641</link>
		<dc:creator>Mark Nelson</dc:creator>
		<pubDate>Thu, 08 Mar 2012 15:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-491641</guid>
		<description>Good point. Updated source shortly.</description>
		<content:encoded><![CDATA[<p>Good point. Updated source shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malte</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-491638</link>
		<dc:creator>Malte</dc:creator>
		<pubDate>Thu, 08 Mar 2012 15:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-491638</guid>
		<description>Very helpful!
The portnumber in your tree is still in network byte order. The output should be ntohs(port).</description>
		<content:encoded><![CDATA[<p>Very helpful!<br />
The portnumber in your tree is still in network byte order. The output should be ntohs(port).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Redeye</title>
		<link>http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/comment-page-1/#comment-479082</link>
		<dc:creator>Redeye</dc:creator>
		<pubDate>Wed, 15 Feb 2012 20:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://marknelson.us/?p=978#comment-479082</guid>
		<description>This article is exactly what I&#039;ve been looking for and I was really pleased when I found it.  However, you&#039;re absolutely right about it not being much of an SDK.  In fact, I&#039;ve found the restrictions it imposes to make it completely unworkable.  I&#039;m trying to replicate some objective-C Bonjour code I&#039;ve already got working in iOS/OSX in an MFC application which also uses Boost and FreeImage libraries and using the SDK I just could not get it to link successfully.

But, I think there is another method... You can also get the mDNSresponder source code from the Apple website in a nice friendly VS2010 solution and in there you&#039;ll find a DLL project which lets you compile your own dnssd.dll which you can then use with it&#039;s .lib file to dynamically link and avoid the pitfalls.  I&#039;m no expert on this kind of stuff but I have managed to get it working successfully (for the moment at least).

I&#039;d be interested to know if anyone else can get this method working, or if I&#039;ve just been very lucky!!!</description>
		<content:encoded><![CDATA[<p>This article is exactly what I&#8217;ve been looking for and I was really pleased when I found it.  However, you&#8217;re absolutely right about it not being much of an SDK.  In fact, I&#8217;ve found the restrictions it imposes to make it completely unworkable.  I&#8217;m trying to replicate some objective-C Bonjour code I&#8217;ve already got working in iOS/OSX in an MFC application which also uses Boost and FreeImage libraries and using the SDK I just could not get it to link successfully.</p>
<p>But, I think there is another method&#8230; You can also get the mDNSresponder source code from the Apple website in a nice friendly VS2010 solution and in there you&#8217;ll find a DLL project which lets you compile your own dnssd.dll which you can then use with it&#8217;s .lib file to dynamically link and avoid the pitfalls.  I&#8217;m no expert on this kind of stuff but I have managed to get it working successfully (for the moment at least).</p>
<p>I&#8217;d be interested to know if anyone else can get this method working, or if I&#8217;ve just been very lucky!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

