From owner-freebsd-net@freebsd.org Mon May 29 18:13:33 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CFAAD7CD4C for ; Mon, 29 May 2017 18:13:33 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9E358434F for ; Mon, 29 May 2017 18:13:32 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from [192.168.1.204] (p57BB4FC1.dip0.t-ipconnect.de [87.187.79.193]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 2B1E1721E280D; Mon, 29 May 2017 20:13:21 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Does sendfile support sctp? From: Michael Tuexen In-Reply-To: <20170529195119.4b2de37e2de21280327b72a3@yahoo.es> Date: Mon, 29 May 2017 20:13:19 +0200 Cc: freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <96BD1B4D-E296-4C30-9159-166DC1EA866E@lurchi.franken.de> References: <20170529195119.4b2de37e2de21280327b72a3@yahoo.es> To: Eduardo Morras X-Mailer: Apple Mail (2.3273) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2017 18:13:33 -0000 > On 29. May 2017, at 19:51, Eduardo Morras via freebsd-net = wrote: >=20 >=20 > Hello, Does sendfile support sctp protocol? The sendfile man page = description says: >=20 > "The sendfile() system call sends a regular file or shared memory = object > specified by descriptor fd out a stream socket specified by descriptor = s." >=20 > Without specifying TCP or UDP or other protocol. >=20 > Must I assume it's only for tcp sockets? It works for TCP and worked for SCTP at one point of time. Not sure if = it still works since the sendfile implementation was changed at one point of = time. Best regards Michael >=20 > Thanks >=20 > --- --- > Eduardo Morras > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"