Re: UDP support for NSStream
Re: UDP support for NSStream
- Subject: Re: UDP support for NSStream
- From: Liwei <email@hidden>
- Date: Mon, 4 Aug 2008 01:45:45 +0800
Hmm, I can't seem to find information about how I may listen to and
make a broadcast over UDP. It seems that it needs to be connected in
some way first. How do I configure a connectionless UDP socket?
2008/8/4 Jens Alfke <email@hidden>:
>
> On 3 Aug '08, at 8:34 AM, Liwei wrote:
>
>> Another quick question. From what I can find, there is no way to use
>> NSStream in UDP?
>
> That's right. That API wouldn't make sense, because UDP doesn't have streams
> or connections; you just send and receieve individual packets.
>
>> If not, then is CFSocket the best way?
>
> Yes.
>
> —Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden