• 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: Tito Ciuro <email@hidden>
  • Date: Tue, 26 Jul 2011 18:14:52 -0300

Hello,

More options:

A simple, extensible HTTP server in Cocoa
http://cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html

How to Write a Cocoa Web Server
http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html

A Simple HTTP Server
http://culturedcode.com/cocoa/

-- Tito

On Jul 26, 2011, at 5:38 PM, email@hidden wrote:

> Here's some sample code (I'm not the author)
>
> https://bitbucket.org/snej/mynetwork/overview
>
> Dave
>
>
> On Jul 26, 2011, at 4:00 PM, Bing Li wrote:
>
>> 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 <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: Bing Li <email@hidden>)
 >Re: Creating a TCP server? (From: email@hidden)

  • Prev by Date: Re: Toggle an object (image) when Command key is pressed: flagsChanged?
  • Next by Date: Re: Creating a TCP server?
  • Previous by thread: Re: Creating a TCP server?
  • Next by thread: Re: Creating a TCP server?
  • Index(es):
    • Date
    • Thread