• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TCP connection timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP connection timeout


  • Subject: Re: TCP connection timeout
  • From: Jason Linhart <email@hidden>
  • Date: Mon, 19 Jan 2004 15:29:08 -0500

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

-----------------
email@hidden
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
_______________________________________________
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.

  • Follow-Ups:
    • Re: TCP connection timeout
      • From: Igor garnov <email@hidden>
  • Prev by Date: Endpoint state - T_OUTCON
  • Next by Date: Re: TCP connection timeout
  • Previous by thread: Re: TCP connection timeout
  • Next by thread: Re: TCP connection timeout
  • Index(es):
    • Date
    • Thread