Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 20:13:19 +0200
From:      Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
To:        Eduardo Morras <emorrasg@yahoo.es>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Does sendfile support sctp?
Message-ID:  <96BD1B4D-E296-4C30-9159-166DC1EA866E@lurchi.franken.de>
In-Reply-To: <20170529195119.4b2de37e2de21280327b72a3@yahoo.es>
References:  <20170529195119.4b2de37e2de21280327b72a3@yahoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 29. May 2017, at 19:51, Eduardo Morras via freebsd-net <freebsd-net@freebsd.org> wrote:
> 
> 
> Hello, Does sendfile support sctp protocol? The sendfile man page description says:
> 
> "The sendfile() system call sends a regular file or shared memory object
> specified by descriptor fd out a stream socket specified by descriptor s."
> 
> Without specifying TCP or UDP or other protocol.
> 
> 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
> 
> Thanks
> 
> ---   ---
> Eduardo Morras <emorrasg@yahoo.es>
> _______________________________________________
> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96BD1B4D-E296-4C30-9159-166DC1EA866E>