mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Manfred Bartz <mbartz@optushome.com.au>
To: linux-kernel@vger.kernel.org
Subject: connect() does not return ETIMEDOUT
Date: 14 Aug 2001 00:00:49 +1000	[thread overview]
Message-ID: <20010813140049.28744.qmail@optushome.com.au> (raw)

When a TCP client opens multiple connections beyond the server's
backlog capacity, the call to connect() returns a value of zero 
(success) after 9 seconds. Toggling SYN-cookies makes no difference.

Is this intended behaviour?

Under Solaris I get ETIMEDOUT (Connection timed out) after a little 
less than 4 minutes.

Presumably I could set the socket to non-blocking and select() for
writability...  (I have not tested that yet.)

But if I want to keep it simple, what is the recommended solution?

-- 
Manfred Bartz


             reply	other threads:[~2001-08-13 14:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 14:00 Manfred Bartz [this message]
     [not found] <20010813140049.28744.qmail@optushome.com.au.suse.lists.linux.kernel>
2001-08-13 16:15 ` Andi Kleen
2001-08-15 14:34   ` Manfred Bartz
2001-08-15 21:41 Sridhar Samudrala
2001-08-16  0:59 ` Manfred Bartz
     [not found] <Pine.LNX.4.21.0108151123510.4809-100000@w-sridhar2.des.sequent.com.suse.lists.linux.kernel>
     [not found] ` <20010816005902.16224.qmail@optushome.com.au.suse.lists.linux.kernel>
2001-08-16  1:39   ` Andi Kleen
2001-08-17 13:11 Alessandro Motter Ren
2001-08-17 22:39 ` Alexey Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010813140049.28744.qmail@optushome.com.au \
    --to=mbartz@optushome.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®