Re: UDP SOCKETS!!
Re: UDP SOCKETS!!
- Subject: Re: UDP SOCKETS!!
- From: j o a r <email@hidden>
- Date: Mon, 14 Feb 2005 15:19:19 +0100
On 2005-02-14, at 14.52, Sherm Pendley wrote:
for a new programmer which one would be good and what are the pros
and cons?
If you've already "worked extensively" with the BSD sockets API, one
major pro to using it would be that you already know it pretty well,
so there's essentially zero learning curve.
One really good thing about using the higher-level API:s is that they
are often integrated in the run-loop, so you don't have to invent your
own ways of getting information about network events to your
application main thread.
If you're going to integrate this in a GUI app I guess you would create
some sort of wrapper around the network code, and in that case it would
probably be better to use one of the existing wrappers - to avoid
re-inventing the wheel, and to avoid having to make all the same
mistakes, bug fixes, regressions, et.c. that I'm sure went into the
creation of the existing wrappers.
Using a CF / NS / ObjC based API also makes it much easier to get the
memory management right. But that's of course a very subjective opinion
of mine.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden