Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 18:31:30 +0200
From:      Marcus Obst <mobst@apfel.sax.de>
To:        freebsd-questions@freebsd.org
Subject:   close on non-blocking socket
Message-ID:  <20010719183130.A7106@apfel.sax.de>

next in thread | raw e-mail | index | archive | help
Hello,

I am in doubt about the following;
what happens when a non-blocking socket that still has pending outgoing
data is closed?  In my network book (by R. Stevens) I read that TCP will
try to flush the data already queued in the output buffer.  But in the
FreeBSD man page of close I got:

  on the last close of a socket(2) associated naming information and
  queued data are discarded
  ~~~~~~~~~~~~~~~~~~~~~~~~~

What's right ...?

P.S.: Please send the answer with CC to me, I'm currently not on the
      mailing list.  Thank you.!

    Best regards from Dresden/Germany!
    Marcus

-- 
Marcus Obst <mobst@apfel.sax.de>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010719183130.A7106>