mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: jay@rgrs.COM
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: select() says closed socket readable
Date: Sat, 18 Aug 2001 20:27:47 +0400 (MSK DST)	[thread overview]
Message-ID: <200108181627.UAA19351@ms2.inr.ac.ru> (raw)
In-Reply-To: <E15Xwmb-0007eJ-00@shell2.shore.net> from "Jay Rogers" at Aug 18, 1 07:45:00 am

Hello!

> For linux 2.4.2, select() indicates socket ready for read on a
> socket that's never been connected. 

Right. It does not block on read, hence it is readable.


>					 This is inconsistent

This is perfectly consistent. Reaction to bugs in applications
is undefined.

Alexey

  reply	other threads:[~2001-08-18 16:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-18  3:28 Jay Rogers
2001-08-18 16:27 ` kuznet [this message]
2001-08-18 22:52   ` Ton Hospel
2001-08-20 14:34   ` Jay Rogers
2001-08-20 19:48     ` David Schwartz
2001-08-20 15:03   ` David S. Miller
2001-08-20 15:29     ` Udo A. Steinberg
2001-08-21  9:02     ` Mike Jagdis
2001-08-21 17:35       ` David Schwartz
2001-08-21 18:38         ` Alan Cox
2001-08-21 19:01           ` David Schwartz
2001-08-22  9:26         ` Mike Jagdis
2001-08-22 21:40           ` David Schwartz
2001-08-23 10:30             ` Mike Jagdis
2001-08-23 10:56             ` [PATCH] " Mike Jagdis

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=200108181627.UAA19351@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=jay@rgrs.COM \
    --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®