Re: CFSocket, RunLoop & UDP => finished?
Re: CFSocket, RunLoop & UDP => finished?
- Subject: Re: CFSocket, RunLoop & UDP => finished?
- From: Troy Dawson <email@hidden>
- Date: Tue, 20 Jan 2004 03:22:12 -0800
On Jan 20, 2004, at 3:08 AM, Rogier Bosch wrote:
Hi,
Simple question -i hope ;)-.
I connect to a server with CFSocket (UDP). I send my data, my
callback handler gets called. So far so good.
The thing is that, the runloop keeps running. So when do i know its
finished??
So, my question: how do i detect that i got all the data, so i can
close the RunLoop?
UDP is an all-or-nothing datagram, not stream, protocol. Whether or not
the message is "all there is" is up to your higher-level application
logic.
_______________________________________________
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.