Messages in this thread |  | | Date | Mon, 18 Jun 2001 09:17:25 -0700 (PDT) | | From | dean gaudet <> | | Subject | Re: Client receives TCP packets but does not ACK |
| |
On Mon, 18 Jun 2001, Jan Hudec wrote:
> Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? > (ie. how many bytes were acked).
no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never arrives. so you can get into a situation where the remote application has the entire message but the local application doesn't know. the only way to solve this is above the TCP layer. (message duplicate elimination using an unique id.)
if the #bytes ack'd was available it would probably fool people into implementing buggy code (which of course they do anyhow :)
-dean
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |