Hi,

Thanks a lot for your earlier response.

There were 2 options mentioned in the earlier response:
#1: Using a separate SCTPTransport class
#2: Providing stream id to open{In/Out}putStreams.

I looked more into option #2 since it seemed to be one with least code change.

- I assumed these open{In/Out}putStream calls are the one in nsSocketTransport class, which open nsSocket{In/Out}putStreams. And, nsHttpConnection calls these open(s) whenever it does CreateTransport(). So, nsHttpConnection should store/know the SCTP stream id. However, the stream id varies with each nsHttpTransaction (request-response), but the nsHttpConnection and the nsSocket{In/Out}putStream might not. Since responses can arrive out-of-order in SCTP, the stream id information in nsHttpConnection can be overwritten in this approach. Am I right? Or have I misinterpreted what was said?

- Due to the problem with option #2 (mentioned above), option #1 seems to be the way to go. I.e., create a new SCTPTransport class?

Thanks a lot,
Preethi
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to