Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4578800
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:33:12+00:00 2026-05-21T20:33:12+00:00

I launch a TCP listening server on port 66661. I create a Bonjour notification

  • 0

I launch a TCP listening server on port 66661. I create a Bonjour notification about this. No problems.

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.

That also works perfectly, and devices can see the Bonjour ad and thence connect at 66662.

Note that 66661 should, and does, still work allowing that other type of player to connect there…no problem.

HOWEVER … I have found that — after 66662 — the bonjour advertisement for 66661 is flakey.

Sometimes it is there / sometimes it disappears. (We’ve not been able to find an exact pattern.)

Has anyone seen this sort of flakeyness in Bonjour, after starting a second Bonjour ad?

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.

This appears to cause no problem, and indeed, does appear to work perfectly on volume iOS apps with no complaints, crashes etc. But it is weird.

Question 1, I BELIEVE that technical note QA1333 suggests it is perfectly OK to make two or more such Bonjour incidents. Anyone know about this, is that correct, ever DTSed the issue?

Question 2, why would the first Bonjour advertisement stop working — sometimes yes, sometimes no — in the situation where you have created another one?

Has anyone seen this? Any ideas? Cheers.

From Kevin’s suggestion: yes, we test this thoroughly with tools like Bonjour Browser and numerous devices/Macs.

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”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:33:13+00:00Added an answer on May 21, 2026 at 8:33 pm

    Try running dns-sd -B _blah._tcp. . in the terminal from any Mac on your LAN. This will open up a query on that service and you can watch the Add and Remove events come by. This is a good way to verify that your service is being explicitly deregistered, rather than (just as an example) not broadcasting properly once new clients start listening after the fact.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very new on this kind of issue, i am trying to launch a server
Launch app from homescreen can't get remote push payload? But launch from Notification Center
For the option to launch a new EC2 instance like this one, how similar
i'm about to launch an advertisement campaign to promote my website, the thing is
I need to launch an app I've made just after login, before anything else
I'm using the SocketServer module for a TCP server. I'm experiencing some issue here
I have a client software program used to launch alarms through a central server.
I am trying to launch one php process that should read about 20.000 records,
I have built an Android chat application. It has a TCP server which is
I've tryed to create a connection with a Microsoft SQl Server 2008 database through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.