Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 20:03:54 -0700
From:      "'Alfred Perlstein'" <>
To:        Jonathan Graehl <>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Do I need to close after shutdown if I don't want to leak descriptors? (making sure TCP retransmits all my data)
Message-ID:  <>
In-Reply-To: <000201c0d73b$cae4abc0$>; from on Mon, May 07, 2001 at 02:22:13PM -0700
References:  <> <000201c0d73b$cae4abc0$>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
* Jonathan Graehl <> [010507 14:22] wrote:
> Thanks for the suggestion - it does fit the bill, although I have to
> getsockopt(SO_SNDBUF on a per-socket basis (I'm using the kqueue
> NOTE_LOWAT, which doesn't trigger if I supply a very large number - the
> exact SO_SNDBUF needs to be used).  I'd honestly just prefer to have the
> kernel close the socket for me, though ;)  It is certain that a close()
> after shutdown() is needed to avoid leaking descriptors, then?


-Alfred Perlstein - []
Daemon News Magazine in your snail-mail!

To Unsubscribe: send mail to
with "unsubscribe freebsd-net" in the body of the message

Want to link to this message? Use this URL: <>