CFSocketSendData question
CFSocketSendData question
- Subject: CFSocketSendData question
- From: Mike Laster <email@hidden>
- Date: Wed, 4 Dec 2002 17:42:36 -0500
CFSocketSendData timeout doesn't seem to work properly in 10.2.2. I
have a server bound to a socket, but frozen under gdb (to simulate a
hung server).
My client connects and attempts to send data to the server. If I use a
timeout of 0, the call blocks forever, as would be expected given the
situation.
However, if I use a timeout of 1, the send returns a second later, but
it returns kCFSocketSuccess, when I would have expected to get
kCFSocketTimeout.
As it is, I have no way of telling if the send succeeded or not.
Am I going about this wrong?
_______________________________________________
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.