Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262634AbUFBNdg (ORCPT ); Wed, 2 Jun 2004 09:33:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262802AbUFBNdg (ORCPT ); Wed, 2 Jun 2004 09:33:36 -0400 Received: from zero.aec.at ([193.170.194.10]:9479 "EHLO zero.aec.at") by vger.kernel.org with ESMTP id S262634AbUFBNd2 (ORCPT ); Wed, 2 Jun 2004 09:33:28 -0400 To: cc: linux-kernel@vger.kernel.org Subject: Re: TCP retransmission : how to detect from an application ? References: <22DFj-7Zd-1@gated-at.bofh.it> From: Andi Kleen Date: Wed, 02 Jun 2004 15:33:22 +0200 In-Reply-To: <22DFj-7Zd-1@gated-at.bofh.it> (Paul Rolland's message of "Wed, 02 Jun 2004 15:10:05 +0200") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 818 Lines: 22 "Paul Rolland" writes: > 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 - 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/