TCP connection timeout
TCP connection timeout
- Subject: TCP connection timeout
- From: Igor garnov <email@hidden>
- Date: Mon, 19 Jan 2004 14:48:16 +0300
Hello,
I experience the following problem in my Carbon CFM application using
Open Transport.
I try to establish connection to the remote host in my LAN. Apparently,
because this is 100 MBits networking environment, if the host is
online, the connection is established in no time. If the host is down,
Open Transport waits for about 1 minute or even longer before returning
error stating that the host is unreachable.
I would like to change this behavior so that OT does not wait so long
before reporting that the host is unreachable, because I know, that if
I cannot connect a host in a few milliseconds, there is hardly a chance
that I will connect it in a minute or two.
So how can I set an endpoint's options so that this timeout would be,
say, 5 seconds? Is there some sample code?
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.