9fans archive / 2001 / 11 / 698 /    prev next

From: "Boyd Roberts" <boyd@fr.inter.net>
Subject: Re: [9fans] Nagle algorithm 
Date: Tue, 27 Nov 2001 15:39:32 +0100

> I'm being a little simplistic here, but since there are assigned
> port numbers, why not have the bind/connect subsystems make the
> decision based on port, with a default for anything else?

Yes that is too simplistic.  Potentially you have large N protocol
rules and some of those protocols do not behave in ways you can
predict or monitor without carrying around a huge amount of baggage.

A silly example is HTTP:  It should be on port 80, but lots of
people like using 8080 or other strange port #s.

As other's have said, it should be left to the application.

So far, only TCP/IP has been discussed, but do you build all
those rules etc into all the other protocols as well?

I don't think so.