• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
      • From: Jens Alfke <email@hidden>
  • Prev by Date: CFProxySupportTool sample andCFNetworkCopyProxiesForAutoConfigurationScript API change?
  • Next by Date: Re: how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
  • Previous by thread: Re: CFProxySupportTool sample and CFNetworkCopyProxiesForAutoConfigurationScript API change?
  • Next by thread: Re: how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
  • Index(es):
    • Date
    • Thread