top | item 44748339

(no title)

gte525u | 7 months ago

I would look at SCTP socket API it supports multistreaming.

discuss

order

mananaysiempre|7 months ago

SCTP is very telecom-shaped; in particular, IIRC, the number of streams is fixed at the start of the connection, so (this sucks but also) GP’s problem does not appear.

Ericson2314|7 months ago

That problem doesn't appear, but also trying to pass off a stream as a readable/writable thing to a polymorphic interface ("everything is file") wouldn't work.

...however sctp_peeloff (see other thread) fixes the issue. Hurray!

Ericson2314|7 months ago

I checked that out and....yuck!

- 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?!