<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Franklin Gothic Medium";
        panose-1:2 11 6 3 2 1 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<![if mso 9]>
<style>
p.MsoNormal
        {margin-left:37.5pt;}
</style>
<![endif]><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white background="cid:image001.jpg@01CA8D48.1691B510" lang=EN-US
link=blue vlink=purple style='margin-left:37.5pt;margin-top:15.0pt'>
<img src="cid:image001.jpg@01CA8D48.1691B510"
v:src="cid:image001.jpg@01CA8D48.1691B510" v:shapes="_x0000_Mail" width=0
height=0 class=shape style='display:none;width:0;height:0'>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>Sorry for the repost, I received no responses to this last
month and wanted to see if anyone had any insight:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -- - - - - - - - - - - - - - - -<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>I&#8217;m having problems browsing for services with the
Bonjour compatibility layer. &nbsp;My application (simple as it may be) needs
to detect other services of its kind on startup. &nbsp;I call
DNSServiceBrowse() with my regtype, get the socket for the browse service, and
perform select() on it with a timeout of 2 seconds.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>In Windows with Bonjour, this works fine. &nbsp;select()
indicates that the socket has data and I call DNSServiceProcessResult() on it
to collect the information. &nbsp;But in Ubuntu using Avahi, it&#8217;s as if
the mDNSResponder (or Avahi equivalent) is not responding. &nbsp;select() just
times out. &nbsp;Even if I increase the timeout to 30 seconds, or try to browse
for &#8220;_ipp._tcp&#8221; services (we have a dozen printers), I get no
response from the browse socket.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>However, if I run avahi-discover, I see the other instance
of the service along with all our printers. &nbsp;Everything appears to be
operating normally.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>I&#8217;m using the compatibility layer because we&#8217;d
like to run under Linux, but our primary target is Windows and thus
Bonjour.&nbsp; It seems like overkill at the moment to code up an interface for
both APIs.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>I&#8217;m assuming (based on the fact that I&#8217;m
running Ubuntu 9.10 and based on the results from avahi-discover) that the DNS
server is in fact running and all required Avahi components are in place.
&nbsp;What am I overlooking here?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><font size=2
face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><st1:PersonName
w:st="on"><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:
 Calibri'>Joshua Foster</span></font></st1:PersonName><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'><o:p>&nbsp;</o:p></span></font></p>

<div style='margin-left:7.5pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" noshade color=black align=center>

</span></font></div>

</div>

</div>

<table class=MsoNormalTable border=0 cellpadding=0>
 <tr height=149 style='height:111.75pt'>
  <td width=290 height=149 style='width:217.5pt;padding:.75pt .75pt .75pt .75pt;
  height:111.75pt' .75pt .75pt .75pt>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><img width=248 height=73 id=DTI
  src="cid:image002.jpg@01CA8D48.1691B510"><o:p></o:p></span></font></p>
  </td>
  <td width=320 height=149 style='width:240.0pt;padding:.75pt .75pt .75pt .75pt;
  height:111.75pt' .75pt .75pt .75pt>
  <p class=MsoNormal><st1:PersonName w:st="on"><strong><b><font size=1
   color="#025ea7" face="Franklin Gothic Medium"><span style='font-size:9.0pt;
   font-family:"Franklin Gothic Medium";color:#025EA7'>Joshua Foster</span></font></b></strong></st1:PersonName><b><font
  size=1 color="#025ea7" face="Franklin Gothic Medium"><span style='font-size:
  9.0pt;font-family:"Franklin Gothic Medium";color:#025EA7;font-weight:bold'><br>
  <strong><b><font face="Franklin Gothic Medium"><span style='font-family:"Franklin Gothic Medium"'>Sr.
  Computer Programmer</span></font></b></strong></span></font></b><br>
<st1:Street w:st="on"><st1:address w:st="on"><font size=1 color=black
    face="Franklin Gothic Medium"><span style='font-size:9.0pt;font-family:
    "Franklin Gothic Medium";color:black'>2721 X-Ray Drive</span></font></st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on"><font size=1 color=black
    face="Franklin Gothic Medium"><span style='font-size:9.0pt;font-family:
    "Franklin Gothic Medium";color:black'>Gastonia</span></font></st1:City><font
   size=1 color=black face="Franklin Gothic Medium"><span style='font-size:
   9.0pt;font-family:"Franklin Gothic Medium";color:black'>, <st1:State w:st="on">NC</st1:State>
   <st1:PostalCode w:st="on">28054</st1:PostalCode></span></font></st1:place><br>
  <font size=1 color=black face="Franklin Gothic Medium"><span
  style='font-size:9.0pt;font-family:"Franklin Gothic Medium";color:black'>(704)
  824-0199 x217<br>
  (704) 824-0241 Fax<br>
  <br>
  jfoster@dtiweb.net<br>
  www.dtiweb.net</span></font><o:p></o:p></p>
  </td>
 </tr>
 <tr height=149 style='height:111.75pt'>
  <td width=290 colspan=2 height=149 style='width:217.5pt;padding:.75pt .75pt .75pt .75pt;
  height:111.75pt'>
  <p class=MsoNormal><i><font size=1 color=black face="Franklin Gothic Medium"><span
  style='font-size:7.5pt;font-family:"Franklin Gothic Medium";color:black;
  font-style:italic'>This message may contain sensitive, proprietary and/or
  privileged information. Disclosure is not authorized unless provided in
  writing by Defense Technologies, Inc. If you are not the addressee or
  authorized to receive this for the addressee, you must not use, copy, disclose,
  or take any action based on this message or any information herein. If you
  have received this message in error, please advise the sender immediately by
  reply e-mail and delete this message. Thank you for your cooperation.</span></font></i><o:p></o:p></p>
  </td>
 </tr>
</table>

<p><font size=2 color="#006666" face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:#006666'>&nbsp;<o:p></o:p></span></font></p>

</div>

</body>

</html>