Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 1999 20:12:06 -0500 (EST)
From:      Bosko Milekic <bmilekic@dsuper.net>
To:        bg24484@binghamton.edu
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Timer to flush data?
Message-ID:  <Pine.OSF.4.05.9911252006130.22403-100000@oracle.dsuper.net>
In-Reply-To: <Pine.GSO.BU-L4.10.9911251934540.21852-100000@bingsun2>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 25 Nov 1999 bg24484@binghamton.edu wrote:

!>
!>Hi!,
!>
!>Data sitting in the send socket buffer is flushed when the send socket
!>buffer is full and when the timer fires.
!>What is the name of this timer and which function or counter is used by
!>this timer.
!>Any help would be appreciated.
!>
!>Thanx in advance,
!>Roshan

	This timeout occurs at the protocol level, and for netinet, for
  instance, you should look at tcp_keepidle (available as a sysctl) and
  tcp_maxidle.
	For TCP, the procedure that you are probably looking for would be
  tcp_timer_2msl() -- it takes care of checking whether ETIMEDOUT should be
  returned in the case of a timeout (as opposed to waiting for a FIN
  forever).

  Have fun,
  Bosko.

--
  Bosko Milekic <bmilekic@technokratis.com>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.05.9911252006130.22403-100000>