• 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
not receiving kCFStreamEventCanAcceptBytes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

not receiving kCFStreamEventCanAcceptBytes


  • Subject: not receiving kCFStreamEventCanAcceptBytes
  • From: Matthew Rushton <email@hidden>
  • Date: Thu, 16 Oct 2008 11:00:20 -0700 (PDT)

Hi,
  This is my first post, I searched the list and docs with no luck for help. I'm writing a single threaded app that uses CFNetwork and callbacks for network communication. At all times I keep track of whether I can write to my stream by tracking kCFStreamEventCanAcceptBytes messages. I expect to receive one after each write I do to alert me I can write again. The problem is I've seemed to hit a case where I do a write and never get a message which of course stalls all communication. If I write anyway the write succeeds. My question is should I expect a message after each write? What if I write outside of my callback function, will I receive messages then? What could cause these messages to simply stop being sent despite everything else to appear fine? Thanks in advance.
-Matt



 _______________________________________________
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: not receiving kCFStreamEventCanAcceptBytes
      • From: Matthew Rushton <email@hidden>
  • Prev by Date: Re: Force packetise and interesting phenomena with two listening sockets
  • Next by Date: Re: not receiving kCFStreamEventCanAcceptBytes
  • Previous by thread: Re: Force packetise and interesting phenomena with two listening sockets
  • Next by thread: Re: not receiving kCFStreamEventCanAcceptBytes
  • Index(es):
    • Date
    • Thread