• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating a TCP server?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a TCP server?


  • Subject: Creating a TCP server?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 26 Jul 2011 12:17:10 -0700

Hi. I need to build a little serial port-to-TCP server (so that clients can connect to my Mac to interact with a serial port). Among other things, I want to advertise this using Bonjour.

How do I create a TCP server in Cocoa? It seems like CF networking is my best bet, but I thought TCP should be easy via Cocoa. I briefly looked at NSSocket and NSStream, but they're not really what I want, I think.

And to verify: is NSNetServices what I need to publish the Bonjour name?

Thanks.

--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Creating a TCP server?
      • From: vade <email@hidden>
    • Re: Creating a TCP server?
      • From: Bing Li <email@hidden>
    • Re: Creating a TCP server?
      • From: Eric Gorr <email@hidden>
  • Prev by Date: Re: How to implement Autosaving, Browsing Versions, Reverting to Last Saved in Lion?
  • Next by Date: Re: Creating a TCP server?
  • Previous by thread: ANN: CouchCocoa framework (CouchDB API)
  • Next by thread: Re: Creating a TCP server?
  • Index(es):
    • Date
    • Thread