Re: Networking in cocoa
Re: Networking in cocoa
- Subject: Re: Networking in cocoa
- From: Prachi Gauriar <email@hidden>
- Date: Sat, 31 Jul 2004 18:08:39 -0500
On Jul 31, 2004, at 1:00 PM, Dustin Voss wrote:
On Jul 31, 2004, at 4:51 PM, Shawn Erickson wrote:
On Jul 31, 2004, at 2:16 AM, Dominik Pich wrote:
I read a networking article on MacDevCenter.com and now I am
completely unsure of how to implement this in my app - very basic
and light0weight
Sould I use
- CFSocket or NetSocket subclass found...
OR
- NSFileHandle
OR
- can anyone recommend a good tutorial
Give us a clue on what type of network you need to do. What
protocols do you need to support or is this your own, etc. Also what
are the performance needs related to what you want to do.
> to implement this in my app - very basic and light-weight
I'm writing a small, very SIMPLE app (dedicated server needs only
listen and client needs only send).
The 'protocol' is simple(my own) based on UDP(if I know how to do it)
or on TCP.
Most of the ready-to-run network libraries out there don't support
UDP. But for TCP, the most popular AFAIK are NetSocket and
AsyncSocket. http://www.cocoadev.com/?SocketClasses
Don't forget NSStream. Since it's (mainly) event-based, it could be a
good fit for your server(input)/client(output) situation.
-Prachi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.