[erlang-patches] Correctly type sctp_assoc_id [Was: [erlang-patches] SCTP improvements]

Simon Cornish <>
Thu Dec 17 23:59:35 CET 2009

Hi Raimo,

On Thu, Dec 17, 2009 at 1:06 AM, Raimo Niskanen
raimo+erlang-patches-at-erix.ericsson.se wrote:
>> > You could if so inclined interpret it to be a struct
>> Unfortunately the draft suggests this also.
> Really, where? (I looked for any clue...)

The second paragraph of section 8 explicitly refers to it as a structure.

And I think there are some more vague references later in that section.

Practically speaking though, for the major platforms that Erlang runs
on it's a 32-bit identifier - Linux & Solaris both use a signed int,
and the user-loadable extensions for Mac & Windows use an unsigned int
(although I'm not familiar with the Windows implementation to say if
it could actually return a value > 2^31 like the Mac NKE does).

I see from Björn's "What's cooking" email that you have already
implemented a solution. Thanks for taking care of it. I will endeavour
to get the new non-blocking connect committed before the start of next


More information about the erlang-patches mailing list