aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-10-05 18:46:13 +0200
committerMicael Karlberg <[email protected]>2018-10-05 18:46:13 +0200
commit09ada8ef363de23dff9af58b2284ea8aaf399071 (patch)
treec75d8230d6f82c343742b0d4efc56b987a100be4 /erts/preloaded
parent6e931258872c15404aa1dfd5198f2b490452b30b (diff)
downloadotp-09ada8ef363de23dff9af58b2284ea8aaf399071.tar.gz
otp-09ada8ef363de23dff9af58b2284ea8aaf399071.tar.bz2
otp-09ada8ef363de23dff9af58b2284ea8aaf399071.zip
[socket-nif] Add first three socket (socket) options to supports
Added the first three socket (level socket) options to the supports function(s). OTP-14831
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/ebin/socket.beambin66596 -> 66960 bytes
-rw-r--r--erts/preloaded/src/socket.erl3
2 files changed, 3 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/socket.beam b/erts/preloaded/ebin/socket.beam
index 9c7bcf89b5..0387e534d8 100644
--- a/erts/preloaded/ebin/socket.beam
+++ b/erts/preloaded/ebin/socket.beam
Binary files differ
diff --git a/erts/preloaded/src/socket.erl b/erts/preloaded/src/socket.erl
index 147d074310..5f23bcce84 100644
--- a/erts/preloaded/src/socket.erl
+++ b/erts/preloaded/src/socket.erl
@@ -817,6 +817,8 @@
-define(SOCKET_SHUTDOWN_HOW_READ_WRITE, 2).
+-define(SOCKET_SUPPORTS_OPTIONS, 16#0001).
+
%% ===========================================================================
%%
@@ -855,6 +857,7 @@ supports(_) ->
false.
+
%% ===========================================================================
%%
%% The proper socket API