• 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
Re: Creating a TCP server?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a TCP server?


  • Subject: Re: Creating a TCP server?
  • From: Eric Gorr <email@hidden>
  • Date: Tue, 26 Jul 2011 17:37:54 -0400

What, I think distinguishes the SSD example from others is that it uses the two most modern methods to get the job done - launchd and GCD.



On Jul 26, 2011, at 4:31 PM, Rick Mann <email@hidden> wrote:

> Thanks, I saw those messages going by. I'll take a look.
>
> --
> Rick
>
> On Jul 26, 2011, at 12:23 , Eric Gorr wrote:
>
>> I would suggest checking out the SSD sample project from WWDC 2010. There are a couple of problems in the source which are covered in this thread:
>>
>> http://lists.apple.com/archives/Macnetworkprog/2011/Jul/msg00005.html
>>
>> But the basics of what you want to do I believe are there...
>>
>>
>> On Jul 26, 2011, at 3:17 PM, Rick Mann <email@hidden> wrote:
>>
>>> 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
>
>>
_______________________________________________

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

References: 
 >Creating a TCP server? (From: Rick Mann <email@hidden>)
 >Re: Creating a TCP server? (From: Eric Gorr <email@hidden>)
 >Re: Creating a TCP server? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Creating a TCP server?
  • Next by Date: Re: Dialog Command Keys
  • Previous by thread: Re: Creating a TCP server?
  • Next by thread: Re: Creating a TCP server?
  • Index(es):
    • Date
    • Thread