Does sendfile support sctp?

Michael Tuexen Michael.Tuexen at lurchi.franken.de
Mon May 29 18:13:33 UTC 2017


> On 29. May 2017, at 19:51, Eduardo Morras via freebsd-net <freebsd-net at 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 at yahoo.es>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list