I would look at SCTP socket API it supports multistreaming.
How are socket APIs always such garbage....
still a draft though.
...however sctp_peeloff (see other thread) fixes the issue. Hurray!
- Send specifies which stream by ordinal number? (Can't have different parts of a concurrent app independently open new streams)
- Receive doesn't specify which stream at all?!