Hi Alexandru, today I finally had the opportunity to play a bit with SCTP. From this first experience, it seems there are a lot of work to do before we can seriously use it. Beside `sendfile' that is not supported (yet?), I couldn't read directly from a stream in the One-To-Many style and it is a big limit, sctp_recvmsg doesn't allow to choose from which stream read, we can't assume the data sent by the client can fit only in a packet: imagine for example a POST or a PUT request, after the HTTP header there can be a huge amount of data so there is need of a multiplexer to dispatch it correctly, the same for FTP transfers. All these problems, IMHO, makes the SCTP usage slower than TCP. Until we will not find an answer to these questions, what do you think about using SCTP as in the One-To-One model? At least we can take advantage of the multihoming feature without loose the functionalities we have with TCP. I think this will not take more than 20 lines of code.
Regards, Giuseppe
