mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Jeffrey Butler <jeffreymbutler@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: poll() behaves differently in Linux 2.4.1 vs. Linux 2.2.14 (POLLHUP)
Date: Tue, 13 Mar 2001 18:06:47 -0800 (PST)	[thread overview]
Message-ID: <15022.53815.129522.746120@pizda.ninka.net> (raw)
In-Reply-To: <20010314015921.19287.qmail@web11808.mail.yahoo.com>
In-Reply-To: <20010314015921.19287.qmail@web11808.mail.yahoo.com>


Jeffrey Butler writes:
 >   I've noticed that poll() calls on IPv4 sockets do
 > not behave the same under linux 2.4 vs. linux 2.2.14. 
 > Linux 2.4 will return POLLHUP for a socket that is not
 > connected (and has never been connected) while Linux
 > 2.2 will not.
 >   The following example program demonstrates the
 > problem when it's run under linux 2.4:

True, this behavior was changed from 2.2.x.  We now match the behavior
of other svr4 systems, in particular Solaris.  This new behavior in
2.4.x will not change.

Later,
David S. Miller
davem@redhat.com

  reply	other threads:[~2001-03-14  2:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-14  1:59 Jeffrey Butler
2001-03-14  2:06 ` David S. Miller [this message]
2001-03-14  8:12   ` Henning P. Schmiedehausen
2001-03-14 16:28   ` Jeffrey Butler
2001-03-14 19:50   ` kuznet
2001-03-15  4:00 Jeffrey Butler
2001-03-15 17:22 ` kuznet

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=15022.53815.129522.746120@pizda.ninka.net \
    --to=davem@redhat.com \
    --cc=jeffreymbutler@yahoo.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®