• 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
kCFSocketDataCallBack auto accepts connection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kCFSocketDataCallBack auto accepts connection?


  • Subject: kCFSocketDataCallBack auto accepts connection?
  • From: Liwei <email@hidden>
  • Date: Thu, 9 Oct 2008 03:27:29 +0800

Hello everyone, a quick question:

I read that kCFSocketDataCallBack and kCFSocketAcceptCallBack are
mutually exclusive callback types and that kCFSocketAcceptCallBack is
called when a connection is automatically accepted and data is read.

Does this imply that kCFSocketDataCallBack also automatically accepts
an incoming connection? If not, then how do I know of an incoming
connection? I'm using TCP in this case.

Sorry if I'm asking too many questions since I'm quite new to
CFSockets and how the underlying communication protocols take place.
 _______________________________________________
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: kCFSocketDataCallBack auto accepts connection?
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Problem with Network Preferences & System Configuration Framework
  • Next by Date: Re: Problem with Network Preferences & System Configuration Framework
  • Previous by thread: Re: Problem with Network Preferences & System Configuration Framework
  • Next by thread: Re: kCFSocketDataCallBack auto accepts connection?
  • Index(es):
    • Date
    • Thread