Date: Thu, 8 Nov 2007 14:08:22 +0200 From: Nikos Vassiliadis <nvass@teledomenet.gr> To: freebsd-questions@freebsd.org Cc: Bram <bram@diomedia.be> Subject: Re: TCP/IP questions Message-ID: <200711081408.22387.nvass@teledomenet.gr> In-Reply-To: <4731E1A4.6020809@diomedia.be> References: <4731E1A4.6020809@diomedia.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 07 November 2007 18:02:44 Bram wrote: > Hi all, > > Can you change the timeout for a tcp connection ? > I need to do the following: start a tcp connection , unplug the network > cable (it's actually wifi but the effect is the same),send some data > over the connection,wait 20 seconds , reinsert the network cable and > just keep working. > When you normally do this the connection will be dead. > Is there a way in freebsd to change this ? are there parameters wich you > can set so that the above would work (20 seconds without network can > happen) ? TCP using the default FreeBSD settings, can survive 20 secs of inactivity. It can be an application forced timeout. What application/protocol are talking about? Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711081408.22387.nvass>