[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: Timer to flush data?
From:       Bosko Milekic <bmilekic () dsuper ! net>
Date:       1999-11-26 1:12:06
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic