Subject: TCP and FIN
To: None <tech-userlevel@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: tech-userlevel
Date: 10/31/2004 22:53:23
--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

on a well-known (in)famous operating system, there's a flag MSG_MORE for
send() which basically prevents sending unnecessarily small packets when
using a TCP socket. There are of course diverse possibilities to get the
same effect without this flag.

However, there's one feature that seems to be impossible without it. If I
use send(fd, data, size, MSG_MORE) and then close(fd), the FIN is merged wi=
th
the last data packet i.e., one packet is saved. On NetBSD without this flag,
I see no way to merge the FIN with the last data packet. Is there a way that
I'm missing?

--=20
Christian

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBhV7T0KQix3oyIMcRAj7yAKCwX25mQ7rh1qrlpms7uSJrXL7UogCeNhiU
Stkl3/2HHVfrVjJboMet4Ks=
=wSwy
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--