From owner-freebsd-net@FreeBSD.ORG Fri Sep 10 22:06:36 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEA6A106566C for ; Fri, 10 Sep 2010 22:06:35 +0000 (UTC) (envelope-from kfl@xiplink.com) Received: from smtp171.iad.emailsrvr.com (smtp171.iad.emailsrvr.com [207.97.245.171]) by mx1.freebsd.org (Postfix) with ESMTP id 971CD8FC0A for ; Fri, 10 Sep 2010 22:06:35 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp37.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 23D7C3B026D; Fri, 10 Sep 2010 17:51:24 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp37.relay.iad1a.emailsrvr.com (Authenticated sender: kfodil-lemelin-AT-xiplink.com) with ESMTPSA id DEB763B01C2; Fri, 10 Sep 2010 17:51:23 -0400 (EDT) Message-ID: <4C8AA863.4060908@xiplink.com> Date: Fri, 10 Sep 2010 17:51:31 -0400 From: Karim Fodil-Lemelin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: Robert Watson References: <4C7A7B25.9040300@freebsd.org> <4C7D0089.1020104@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Andre Oppermann Subject: Re: Removal of deprecated implied connect for TCP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 22:06:36 -0000 On 31/08/2010 5:32 PM, Robert Watson wrote: > > On Tue, 31 Aug 2010, Andre Oppermann wrote: > >>> I'm not entirely comfortable with this change, and would like a >>> chance to cogitate on it a bit more. While I'm not aware of any >>> applications depending on the semantic for TCP, I know that we do >>> use it for UNIX domain sockets. >> >> I don't have any plans to remove the implied connect support from the >> socket layer or other protocols, only from TCP. > > Right -- the implicit question is: why should TCP be the only stream > protocol in our stack *not* to support implied connection, when we > plan to continue to support it for all other protocols? > >> For deprecating this part of the TCP API there is no documentation to >> the implied connect in tcp(4). In sendto(2) it doesn't differentiate >> between protocols and simply says: "... sendto() and sendmsg() may be >> used at any time." For MSG_EOF it says that is only supported for >> SOCK_STREAM sockets in the PF_INET protocol family. These sentences >> have to be corrected. > > In general, deprecating is taken to mean providing significant and > explicit advance warning of removal -- for example, updating the 8.x > man page to point out that the feature is deprecated and it will not > appear in future releases of FreeBSD. > > Robert > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Hi, For what its worth, we at Xiphos (now XipLink), are still using sendto and T/TCP and is one of the reasons we've chosen FreeBSD more then 10 years ago! Best regards, Karim.