Hi, Rick,

If you are familiar with BSD socket, you can program with it to create a TCP
server. I have done that successfully.

Thanks,
Bing

On Wed, Jul 27, 2011 at 3:17 AM, Rick Mann <rm...@latencyzero.com> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/lblabs%40gmail.com
>
> This email sent to lbl...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to