On Sun, 13 Mar 2005 01:44:43 +0100 Xuân Baldauf <xuan--2005.03.12--linux-net--vger.kernel.org@xxxxxxxxxxx> wrote: > skewing write_seq==0 to write_seq==1 might be harmless, but I'm still > wondering, why this kind of skewing is done at all. Maybe you have a > hint? :-) Perhaps some old systems get confused by an initial sequence number of zero, but I can't say for sure. > P.S.: I'm also wondering wether it is possible to call ioctl SIOCOUTQ > after linux notified the application that a TCP connection broke > (because the other side went offline unexpectedly). A broken connection by definition has no output queue. But Linux will give you whatever the final tp->write_seq - tp->snd_una value was a the time of the connection breakage in this case. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html