Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
CFSocket Read Call Back
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFSocket Read Call Back



Is it normal for a read call back on a socket to be called when there is
no data to be read?

I create CFSocket from a socket and specify a read call back. The socket
transfers some data, but then when there is no data available, the read
call back is still being called.

I am repeatedly call read on the socket, but it always returns 0 bytes.

Is this normal behavior? I believe in some previous situation that the
read call back would only be called when there was actually data available.

Thanks for any info,

 ...Duane

 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.