CFStream: setting the time out
CFStream: setting the time out
- Subject: CFStream: setting the time out
- From: Stephane Sudre <email@hidden>
- Date: Fri, 9 Jan 2004 12:26:14 +0100
Is it possible to change the time out of a CFStream "instance"?
Basically, I'm doing the following thing:
1) Check with SystemConfiguration Framework SCNetwork.h that a
connection looks like to be up and running.
2) If 1) is OK, get a file on a http server via CFStream.
Part 1) is taking care of lack of communication but if you just run the
code and unplug your Ethernet Cable at the same time, the lack of
connection is not seen immediately so Part 2) is run.
The fact is that what looks like to be the CFStream time-out might be a
bit too long. So I was wondering if it was possible to reduce it...
_______________________________________________
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.