`socket` module is missing SCTP `peeloff` API

Hi!

Any reason why there is no SCTP peeloff API in the socket module?

https://www.erlang.org/doc/man/socket

Thank you,
Cristian

As it has probably not been needed and as such not implemented; or maybe just not officially supported and documented (UDP connected sockets were in an undocumented rut until recently)…check the source.

Why is gen_sctp:peeloff/2 unsuitable for your needs?

The socket module is still a work in progress. From the docs:

SCTP has only been partly implemented (and not tested).

2 Likes