Subject: Re: sctp_peeloff()

From: Kacheong Poon <[email-masked]>
Date: Sun, 14 Dec 2003 23:54:30 -0800

Michael Tuexen wrote:

> Assuming that you can use recv_message_from_stream(stream, buffer)
> to get data from a particular stream, how will you handle the problem
> 'at the protocol level'? If you are not doing it right there you
> will have problems at the upper layer.

This is really an implementation issue.  One implementation
may do it at the SCTP layer such that it exports a way for
the socket layer to receive data on a per stream basis.
Another implementation may do it completely at the socket
layer such that it separates the data from the SCTP layer
into different streams and put them into the queues of
different sockets.  In the case Caitlin mentioned, the pre-
posted buffer may go all the way down to the device driver.

It may not be straightforward to implement this stream-
socket.  But it is an implementation issue.  The question
I'd like to answer is whether people see it as a useful
feature.  If nobody will use it, there is no need to discuss
the details...

-- 

						K. Poon.
						[email-masked]