title: Need to Bonjour twice?
body: <p>I launch a TCP listening server on port 66661. I create a Bonjour notification about this. No problems.</p>
  
  <p>Before anyone connects at 66661 the app creates another unrelated network service (another TCP listening server) on another port, and in an identical fashion creates a Bonjour advertisement, this time on 66662.</p>
  
  <p>That also works perfectly, and devices can see the Bonjour ad and thence connect at 66662.</p>
  
  <p>Note that 66661 should, and does, still work allowing that other type of player to connect there...no problem.</p>
  
  <p>HOWEVER ... I have found that -- after 66662 -- <strong>the bonjour advertisement for 66661 is flakey</strong>.</p>
  
  <p><strong>Sometimes it is there / sometimes it disappears.</strong> (We've not been able to find an exact pattern.)</p>
  
  <p>Has anyone seen this sort of flakeyness in Bonjour, after starting a second Bonjour ad?</p>
  
  <p>A workaround solution .. After 66662 is happy, I just create another identical Bonjour ad for 66661. An exact repeat of the earlier Bonjour code advertising 66661.</p>
  
  <p>This <strong>appears to cause no problem</strong>, and indeed, <strong>does appear to work perfectly</strong> on volume iOS apps with no complaints, crashes etc.  But it is weird.</p>
  
  <p>Question 1, I BELIEVE that <strong>technical note QA1333</strong> suggests it is perfectly OK to make two or more such Bonjour incidents. Anyone know about this, is that correct, ever DTSed the issue?</p>
  
  <p>Question 2, why would the first Bonjour advertisement stop working -- sometimes yes, sometimes no -- in the situation where you have created another one?</p>
  
  <p>Has anyone seen this? Any ideas? Cheers.</p>
  
  <p>From Kevin's suggestion: yes, we test this thoroughly with tools like Bonjour Browser and numerous devices/Macs.</p>
  
  <p>From Jarrod's suggestion: yes, when it does stop/disappear, it stops "for all clients".  I think I actually do not know how to tell programmatically (on the server) if it is "unregistered".</p>