how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
- Subject: how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
- From: "SridharRao M" <email@hidden>
- Date: Mon, 21 Jul 2008 10:37:50 +0530
Hi Friends,
I am using CFWriteStreamWrite in my application.This is blocking the app if we give invalid host and port .
In the documentation it is mentioned that "use the runloop and listen for kCFStreamCanWrite Event".
Can anyone have the idea of implementing this event.
In the documentation the events specified are:
CFStreamEventOpenCompleted | kCFStreamEventHasBytesAvailable |kCFStreamEventEndEncountered |kCFStreamEventErrorOccurred;
kCFStreamCanWrite event is not found in the list of events.
Even i tried by using CFWriteStreamCanAcceptBytes it is always returning FALSE.
Can any one help me in this regard.
Regards,
Sridhar.
_______________________________________________
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