Re: New to cocoa; okay to use C sockets?
Re: New to cocoa; okay to use C sockets?
- Subject: Re: New to cocoa; okay to use C sockets?
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 5 Jul 2001 21:35:49 +0100
On Thursday, July 5, 2001, at 04:54 pm, Navdeep Gill wrote:
Hi
I am workin on doing some TCP/IP programmin in
Cocoa. I was wondering if there are any special
objects in C that I can use for socket programming or
should I just go ahead and use the common 'socket(),
bind(), listen() and accept()' calls?
C doesn't have socket functions, BSD does :-)
Yes, you can use BSD sockets. C doesn't have objects, so you're not
going to find socket objects in C. There are no wonderful networking
objects in Cocoa, either, your best bet is probably to go to
OmniNetworking, which you can get at from the Community section of
http://www.omnigroup.com - the license is pretty nice, you can basically
use it in anything.
-- Finlay