• 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: 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.

  • Follow-Ups:
    • Re: TCP connection timeout
      • From: Justin Walker <email@hidden>
References: 
 >Re: TCP connection timeout (From: Jason Linhart <email@hidden>)

  • Prev by Date: Re: TCP connection timeout
  • Next by Date: Re: macnetworkprog digest, Vol 3 #616 - 6 msgs
  • Previous by thread: Re: TCP connection timeout
  • Next by thread: Re: TCP connection timeout
  • Index(es):
    • Date
    • Thread