Re: TCP connection timeout
Re: TCP connection timeout
- Subject: Re: TCP connection timeout
- From: Igor garnov <email@hidden>
- Date: Tue, 20 Jan 2004 00:00:53 +0300
Hello,
You're right, that's the way indeed, but how can I tear down a
connection that has not been really established yet?
Should I call OTSndDisconnect ?
On Monday, Jan 19, 2004, at 23:29 Europe/Moscow, Jason Linhart wrote:
On 1/19/04 10:53 AM Justin Walker (email@hidden) wrote:
The latter does not provide a way to modify the TCP
timeouts.
If you use the BSD network interface, instead of OT, you can time out a
network connection attempt with an alarm. If you are using OT you can
use
an async open and then after five seconds, or however long you want to
wait, just stick the endpoint into a queue of endpoints waiting for
timeouts, continue with your program, and then discard it later when it
finally times out and you have a moment to check the queue.
Jason
Regards,
Igor
_______________________________________________
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.