Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 12:22:09 -0700 (PDT)
From:      Marc Slemko <marcs@znep.com>
To:        Stephane Eranian <eranian@cello.hpl.hp.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Loosing socket options on new connections...
Message-ID:  <Pine.GSO.4.00.9808111211200.12915-100000@redfish>
In-Reply-To: <199808111754.KAA01432@cello.hpl.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Aug 1998, Stephane Eranian wrote:

> Hi,
> 
> I recently notice that when you get a new connection on a listen
> socket the flags for the "master socket" simply vanish from the cloned
> socket (service socket). This is really annoying for flags like
> TCP_NODELAY, ie TF_NODELAY (ie user-settable flags via setsockopt()).

The traditional behaviour (not just FreeBSD) has been that only SO_DEBUG,
SO_DONTROUTE, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF and
SO_SNDBUF are inherited.

A program shouldn't expect others to be inherited, although this is
somewhat ill-defined by the specs.


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



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