TCP/IP questions

Nikos Vassiliadis nvass at teledomenet.gr
Thu Nov 8 04:06:08 PST 2007


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



More information about the freebsd-questions mailing list