• 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
CFSocket Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFSocket Help


  • Subject: CFSocket Help
  • From: Gerry Beggs <email@hidden>
  • Date: Sun, 18 Sep 2005 21:10:26 -0500

I find it odd that there's very little documentation for CFSocket.

I'm trying to use it to update my newsreader (NNTP) client from OpenTransport.

I am able to get the socket to connect to the server.

When I call CFSocketIsValid(...) it returns true.

LittleSnitch confirms that I'm connecting to the server that I want on the port that I want.


However, my callback doesn't get called once.
I'm using kCFSocketDataCallBack | kCFSocketWriteCallBack for the types of callbacks I want.
I don't receive any data from the server.



I've tried using CFSocketCreateConnectedToSocketSignature to create the socket and connect in one step.
I've also tried CFSocketCreate then call CFSocketConnectToAddress for two steps.


Neither seems to make a difference.


Are there any ideas of what I might be missing?

Thanks in advance.

--
email@hidden       http://www.mts.net/~gbeggs1/
_______________________________________________
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: CFSocket Help
      • From: Quinn <email@hidden>
  • Prev by Date: Re: DNS settings...
  • Next by Date: Re: CFNetwork and SSL Certificate Exceptions
  • Previous by thread: Re: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
  • Next by thread: Re: CFSocket Help
  • Index(es):
    • Date
    • Thread