Re: UDP SOCKETS!!
Re: UDP SOCKETS!!
- Subject: Re: UDP SOCKETS!!
- From: Dustin Voss <email@hidden>
- Date: Tue, 15 Feb 2005 10:10:57 -0800
On 13 Feb, 2005, at 10:29 PM, apr trainees wrote:
1. what are the various ways in which i can implememnt udp sockets in
cocoa?
I have heard of the following:
• use small sockets
• netsocket
• async socket
• cfsocket
Small Sockets, NetSocket, and my own AsyncSocket don't support UDP. You
should use CFSocket, add it to the run-loop for background processing,
and use the normal BSD UDP functions for reading and writing. If you
want to look at integrating CFSockets into your run-loop, check the
Net- or AsyncSocket source code (IIRC, Small Sockets does not use
CFSocket).
_______________________________________________
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