Re: Returning Distant IP Address from CFReadStream
site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... At 10:55 -0400 10/3/09, Vincent Lecours wrote: when I go through the CFWriteStreamCopyProperty (or CFReadStreamCopyProperty) returns a nil because it logs "fdData is nil". I can't understand why fdData is nil. Am I doing something wrong? Are you running the streams synchronously or asynchronously? If you're running them asynchronously, the underlying socket won't be in place until the stream has opened (that is, your callback gets the kCFStreamEventOpenCompleted event). This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn