Sendfile and sctp questions

Eduardo Morras emorrasg at yahoo.es
Tue Mar 7 11:33:31 UTC 2017


Hello,

I'm developing sctp programs and  want to use zero-copy sendfile(2) with SOCK_STREAM sctp connection type, I used sendfile with tcp sockets without problems, but under sctp I have some questions:

a) Is this the right list?
b) How can I be sure that it's really a zero-copy?
c) Will send it as a regular "fair player" message inside the sctp association or will cheat blocking other messages until file transfer ends?
d) Will corrupt my association and shoot my multiple feet? I dont' use a unique message, I send multiple messages simultaneusly.

Thanks in Advance

---   ---
Eduardo Morras <emorrasg at yahoo.es>


More information about the freebsd-hackers mailing list