Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFSocket Help



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.