mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Michael Kerrisk <m.kerrisk@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Weirdness with AF_INET listen() backlog [2.4.18]
Date: 30 Jul 2002 18:18:51 +0100	[thread overview]
Message-ID: <1028049531.7974.1.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <008a01c237de$29d6b700$0200a8c0@MichaelKerrisk>

On Tue, 2002-07-30 at 16:31, Michael Kerrisk wrote:
> > If you expect
> >the server to say something you'll see the timeout there instead of
> >seeing it on the connect.
> 
> Sorry, I don't quite understand this last sentence!  Can you elaborate?

If your client current does

	connect
	if timedout error
	read
	if timedout error

then it will fail on the read, and since the code should already handle
that case will work out fine

> >Since a timeout on the data can happen in the real world Im sure your
> >code already correctly handles this case ;)
> 
> You mean on a send() or write(), right?

If the client writes first then it may well not fail until the read
after the write


  reply	other threads:[~2002-07-30 15:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30 15:31 Michael Kerrisk
2002-07-30 17:18 ` Alan Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-30 16:59 Michael Kerrisk
2002-07-30 16:13 Michael Kerrisk
2002-07-30 14:35 Michael Kerrisk
2002-07-30 15:01 ` Richard B. Johnson
2002-07-30 15:03 ` kuznet
2002-07-30 15:59 ` Alan Cox

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=1028049531.7974.1.camel@irongate.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.kerrisk@gmx.net \
    /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®