ietf
[Top] [All Lists]

Re: [IAB] IETF and APIs

2011-03-30 06:33:29
On 03/30/2011 01:20 PM, Dave CROCKER wrote:

In some cases, there is a surprising benefit:

It makes a clear distinction between what is "internal" to the protocol,
versus what is payload that is delivered to the consumer (next layer up
or receiving application.)

Sometimes, the way a protocol is specified does not make this
distinction completely clear.

Good point. For example, BSD socket API makes it clear that TCP packet boundaries are not visible to the application. If it was not so, some TCP implementations could expose those boundaries to the applications. Those, in turn, could use it to drive the business logic. Such applications would then break if a middlebox re-segmented the data.

Martin
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>