More newbie CF[Socket|Stream] questions
More newbie CF[Socket|Stream] questions
- Subject: More newbie CF[Socket|Stream] questions
- From: Avi Drissman <email@hidden>
- Date: Thu, 23 May 2002 14:12:20 -0400
1. In my CFSocket listener callback, I don't want a client at this
time. Can I just call close() on the CFSocketNativeHandle passed in
the data parameter?
2. Is there a way to get the IP address of the machine through
CFWhatever, or should I do it as Stevens's UNP says? (Yes, I know
that it could be multihomed...)
3. kCFStreamPropertySocketRemoteHostName isn't working for me. In the
listener callback, I create the pair of streams from the socket I'm
passed, schedule them with the run loop, open them, and I'm still
getting null back from CF[Read|Write]StreamCopyProperty. What am I
doing wrong here?
Avi
--
Avi Drissman
email@hidden
Argh! This darn mailserver is trunca
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.