TCP retransmission : how to detect from an application ?

From: Paul Rolland
Date: Wed Jun 02 2004 - 07:59:45 EST


Hello,

I've an application that is establishing TCP connection, and exchanges some
data.
However, from time to time, I suspect there are some packet loss, which are
corrected by the kernel (hell, TCP is reliable, isn't it :-), but I'd like
to know if an application can detect this (well, I don't want to be notified
of a packet loss once detected, but I'd like to get some stats before
closing
the connection).

Is there something possible ? Some ioctl ? Some /proc/magic-interface ?

Regards,
Paul

Paul Rolland, rol(at)as2917.net
ex-AS2917 Network administrator and Peering Coordinator

--

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur

"Some people dream of success... while others wake up and work hard at it"




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/