2 Jan 2009 15:01
Re: SCTP support for Solaris
Randall Stewart <rrs <at> lakerest.net>
2009-01-02 14:01:07 GMT
2009-01-02 14:01:07 GMT
Sorry for seeing this so late(Continue reading)On Nov 25, 2008, at 3:13 PM, Michael Tüxen wrote: >> > So the idea is to be able to be able to provide a some cmghdr > structure, each one for > - The PPID > - The stream id > - Sending ordered/unordered > - the PR-SCTP policy > - the PR-SCTP value > - the SCTP-AUTH keyid > - the flags (from the sndrcv info flags) > - the context > - and a couple more that I forgot... > > The experience I had is that people avoid using the the > cmghdr stuff... That is why we added sctp_sendmsg() which > was just a wrapper added to handle the cmghdr stuff.. I tend to agree with you here Michael. I have taught quite a few classes on the SCTP socket API.. where you get blood curdling screams, groans and moans is when you try to get folks to use the cmsg stuff. Its real ugly and quite awkward to use. Most folks just plain do not want to use it. No matter what we do, I think having something simple to use is far better. Even if that means wrapping a library
On Nov 25, 2008, at 3:13 PM, Michael Tüxen wrote:
>>
> So the idea is to be able to be able to provide a some cmghdr
> structure, each one for
> - The PPID
> - The stream id
> - Sending ordered/unordered
> - the PR-SCTP policy
> - the PR-SCTP value
> - the SCTP-AUTH keyid
> - the flags (from the sndrcv info flags)
> - the context
> - and a couple more that I forgot...
>
> The experience I had is that people avoid using the the
> cmghdr stuff... That is why we added sctp_sendmsg() which
> was just a wrapper added to handle the cmghdr stuff..
I tend to agree with you here Michael. I have taught
quite a few classes on the SCTP socket API.. where you
get blood curdling screams, groans and moans is when you
try to get folks to use the cmsg stuff. Its real ugly
and quite awkward to use. Most folks just plain do not
want to use it.
No matter what we do, I think having something simple
to use is far better. Even if that means wrapping a library
RSS Feed