Bug#306422: gtetrinet: [patch] fixes network message latency

Jordi Mallach Jordi Mallach <jordi@debian.org>, 306422@bugs.debian.org
Tue, 26 Apr 2005 16:06:24 +0200


--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 26, 2005 at 02:44:54PM +0200, Julien Plissonneau Duquene wrote:
> Attached is a small patch that fixes network message latency with
> gtetrinet. Actually the network channel is unbuffered and the lowest
> message sending function uses two writes to push every message to the
> network, which result in two TCP packets being sent for every message.
> The handicap can clearly be seen at the start of games (typically your
> opponent has already dropped 1 or 2 blocks when your first one becomes
> available).
>=20
> With this patch gtetrinet's latency matches that of other clients.

Thanks Julien,

This will probably appear in gtetrinet 0.7.10, as it's probably late for
0.7.9 which we should have announced aa week ago.
(unless Dani states otherwise ;)

Jordi
--=20
Jordi Mallach P=E9rez  --  Debian developer     http://www.debian.org/
jordi@sindominio.net     jordi@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCbkrgJYSUupF6Il4RAkzAAJ0TrhhTp/IVgeLrTVSJzXPmBbznnwCfegXm
9EE2YiD4s8NcYbXCJOUGyU0=
=fN5T
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--