aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-19 14:00:42 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commitd28129b7098bce154264937862fcdafb21541433 (patch)
tree43a167872afa2413c87b49662638d3a98f9a9d29 /erts/doc
parent1a3aca0a849af0bae994c9cf89de0dcfe7b310c2 (diff)
downloadotp-d28129b7098bce154264937862fcdafb21541433.tar.gz
otp-d28129b7098bce154264937862fcdafb21541433.tar.bz2
otp-d28129b7098bce154264937862fcdafb21541433.zip
[socket-nif] Add support for socket (level sctp) option events
Added support for the SCTP option EVENTS. OTP-14831
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/socket.xml21
-rw-r--r--erts/doc/src/socket_usage.xml7
2 files changed, 25 insertions, 3 deletions
diff --git a/erts/doc/src/socket.xml b/erts/doc/src/socket.xml
index 2681910a72..4ecf35b8ed 100644
--- a/erts/doc/src/socket.xml
+++ b/erts/doc/src/socket.xml
@@ -122,6 +122,21 @@
<datatype>
<name name="ip_mreq"/>
</datatype>
+ <datatype>
+ <name name="ip_mreq_source"/>
+ </datatype>
+ <datatype>
+ <name name="ip_pmtudisc"/>
+ </datatype>
+ <datatype>
+ <name name="ipv6_mreq"/>
+ </datatype>
+ <datatype>
+ <name name="ipv6_pmtudisc"/>
+ </datatype>
+ <datatype>
+ <name name="sctp_event_subscribe"/>
+ </datatype>
</datatypes>
<funcs>
@@ -132,9 +147,9 @@
<desc>
<p>Accept a connection on a socket.</p>
<p>This call is used with connection-based socket types
- (stream or seqpacket). It extracs the first pending connection
- request for the listen socket and returns the (newly) connected
- socket.</p>
+ (<c>stream</c> or <c>seqpacket</c>). It extracs the first pending
+ connection request for the listen socket and returns the (newly)
+ connected socket.</p>
</desc>
</func>
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml
index 247cd0eccb..1d7b98d1a3 100644
--- a/erts/doc/src/socket_usage.xml
+++ b/erts/doc/src/socket_usage.xml
@@ -459,6 +459,13 @@
<cell>none</cell>
</row>
<row>
+ <cell>events</cell>
+ <cell>sctp_event_subscribe()</cell>
+ <cell>yes</cell>
+ <cell>no</cell>
+ <cell>none</cell>
+ </row>
+ <row>
<cell>nodelay</cell>
<cell>boolean()</cell>
<cell>yes</cell>