By means of SCTP socket api sctp_sendmsg()
, parameters like streamNumber, ppid, orderedDelivery are configurable before sending out a message over transport.
While i was trying to have TLS integrated to SCTP code using SSL_Write()
api, the flexibility to choose the stream on which the message is send out(& other SCTP specific params as well) is lost, and default values are always associated to the SCTP params.
My doubt is, when using TLS, how is the SCTP flexibility achieved ?