From owner-freebsd-net@FreeBSD.ORG Sun Apr 11 02:27:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86F5E16A4CE for ; Sun, 11 Apr 2004 02:27:09 -0700 (PDT) Received: from kogut3.o2.pl (kogut3.go2.pl [212.126.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id A20DF43D1D for ; Sun, 11 Apr 2004 02:27:08 -0700 (PDT) (envelope-from knockefreebsd@o2.pl) Received: from ALFA (rekin7.go2.pl [212.126.20.19]) by kogut3.o2.pl (Postfix) with ESMTP id 9EC1477D0B for ; Sun, 11 Apr 2004 11:27:06 +0200 (CEST) Message-ID: <003101c41fa7$2cb9cc70$df5561d9@ALFA> From: "Knocke" To: References: <001901c41eee$3f09c0b0$df5561d9@ALFA> <20040410120027.GC710@empiric.dek.spc.org> <003901c41f02$b31ec3b0$df5561d9@ALFA> <4077FE82.7040308@netli.com> Date: Sun, 11 Apr 2004 11:27:11 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [nwebe] How to track TCP socket variables? (cwnd, ssthresh) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 09:27:09 -0000 > Yes, the application must use setsockopt() call to enable socket debugging. > If an application does not turn it on, you can create a simple library > which would substitute socket() with socket()+setsockopt(SO_DEBUG) pair, > and attach it to the application via LD_PRELOAD. uhmm, ok. I'd like to check it first on any socket, do you know any network programms (aplications, benchmarks etc) to open sockets with debug option, or give a '-'switch to do that? trpt on my system keeps on saying : % trpt: /boot/kernel/kernel: no namelist so probably no sockets are currently SO_DEBUG ready. hk