Re: 1. Creating a TCP server? (Rick Mann)

2011-07-27 Thread Jens Alfke
On Jul 26, 2011, at 4:20 PM, John MacMullin wrote: > http://developer.apple.com/library/mac/#samplecode/CocoaEcho/Introduction/Intro.html > ? CocoaEcho is pretty messy. Might be useful as reference for looking at how to do some things, but I wouldn’t recommend basing your app on it, not when t

Re: 1. Creating a TCP server? (Rick Mann)

2011-07-26 Thread Rick Mann
cocoa-dev-requ...@lists.apple.com >> >> You can reach the person managing the list at >> cocoa-dev-ow...@lists.apple.com >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Cocoa-dev digest..." >

Re: Creating a TCP server?

2011-07-26 Thread Rick Mann
I think that's what I want to use! On Jul 26, 2011, at 16:40 , vade wrote: > I would highly suggest looking at AsyncSocket. I've personally used it a few > times and its been a pleasure to work with. > > http://code.google.com/p/cocoaasyncsocket/ > > > > > On Jul 26, 2011, at 3:17 PM, Rick

Re: Creating a TCP server?

2011-07-26 Thread vade
I would highly suggest looking at AsyncSocket. I've personally used it a few times and its been a pleasure to work with. http://code.google.com/p/cocoaasyncsocket/ On Jul 26, 2011, at 3:17 PM, Rick Mann wrote: > Hi. I need to build a little serial port-to-TCP server (so that clients can >

1. Creating a TCP server? (Rick Mann)

2011-07-26 Thread John MacMullin
com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cocoa-dev digest..." > > > Today's Topics: > > 1. Creating a TCP server? (Rick Mann) > 2. Re: Creating a TCP server? (Eric Gorr) > 3. Re: App won'

Re: Creating a TCP server?

2011-07-26 Thread Eric Gorr
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 wrote: > Thanks, I saw those messages going by. I'll take a look. > > -- > Rick > > On Jul 26, 2011, at 12:23 ,

Re: Creating a TCP server?

2011-07-26 Thread Tito Ciuro
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.

Re: Creating a TCP server?

2011-07-26 Thread davelist
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

Re: Creating a TCP server?

2011-07-26 Thread Rick Mann
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/archi

Re: Creating a TCP server?

2011-07-26 Thread Bing Li
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 wrote: > Hi. I need to build a little serial port-to-TCP server (so that clients can > connect to my Mac to inte

Re: Creating a TCP server?

2011-07-26 Thread Eric Gorr
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/msg5.html But the basics of what you want to do I believe are there... On Jul 26, 2011,

Creating a TCP server?

2011-07-26 Thread Rick Mann
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