CFSocket Help
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