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

  • Home
  • SEARCH
  • 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 3460274
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:12:34+00:00 2026-05-18T10:12:34+00:00

My app opens a TCP socket and waits for data from other users on

  • 0

My app opens a TCP socket and waits for data from other users on the network using the same application. At the same time, it can broadcast data to a specified host on the network.

Currently, I need to manually enter the IP of the destination host to be able to send data. I want to be able to find a list of all hosts running the application and have the user pick which host to broadcast data to.

Is Bonjour/ZeroConf the right route to go to accomplish this? (I’d like it to cross-platform OSX/Win/*Nix)

  • 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-18T10:12:35+00:00Added an answer on May 18, 2026 at 10:12 am

    it can broadcast data to a specified host on the network

    This is a non-sequitur.

    I’m presuming that you don’t actually mean broadcast, you mean Unicast or just “send”?

    Is Bonjour/ZeroConf the right route to go to accomplish this?

    This really depends on your target environment and what your application is intended to do.

    As Ignacio points out, you need to install the Apple software on Windows for Zeroconf/mDNS to work at the moment.

    This might be suitable for small office / home use.


    However larger networks may have Layer 2 Multicast disabled for a variety of reasons, at which point your app might be in trouble.

    If you want it to work in the enterprise environment, then some configuration is required, but that doesn’t have to be done at the edge (in the app client instances).

    Could be via a DHCP option, or by DNS service records.. in these cases you’d possibly be writing a queryable server to track active clients.. much like a BitTorrent Tracker.

    Two things to consider while designing your networked app:

    • Would there ever be reason to run more than one “installation” of your application on a network?
    • Always consider the implications of versioning: One client is more up to date than another, can they still talk to each other or at least fail gracefully?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that display's the current time when a page opens. I
I have created a small application which opens,reads and creates Excel files. The app
I have to code a server app where clients open a TCP/IP socket, send
My client application uses a boost::asio::ip::tcp::socket to connect to a remote server. If the
I'm writing web application where I need to push data from server to the
My BlackBerry app opens BB Browser to display a web page for users. There
I would like to create an iPhone app that can open the google maps
I have an app that needs to open a new window (in the same
I can't seem to get Orbited working with my Twisted app. I have a
I am trying to make an app that opens android market page of selected

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.