Skip to contentSkip to conversation

TCP retransmission : how to detect from an application ?

DISCUSSION Andi Kleen 2 participants 2 messages Jun 2, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 10 lines · Paul Rolland

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 ?

RTFM. man tcp -> TCP_INFO

-Andi

#2 lore raw

Hello,

Quoted 3 lines

RTFM. man tcp -> TCP_INFO

Thanks... It seems that my man pages are quite outdated, but I've found the information I was missing.

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"