aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_nif.c
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-06-07 17:50:38 +0200
committerMicael Karlberg <[email protected]>2018-09-18 13:01:37 +0200
commit70b74f57a360c2b2a1edfe46c61d2ea170d73f91 (patch)
treeafb65cc899696b45465dd4255373a0eb9598a5ad /erts/emulator/nifs/common/socket_nif.c
parent9e0acc8f442549f1f5ee4271816cbfbeb25d8719 (diff)
downloadotp-70b74f57a360c2b2a1edfe46c61d2ea170d73f91.tar.gz
otp-70b74f57a360c2b2a1edfe46c61d2ea170d73f91.tar.bz2
otp-70b74f57a360c2b2a1edfe46c61d2ea170d73f91.zip
[socket-nif-doc] More polishing
Also added (a very) temporary example. OTP-14831
Diffstat (limited to 'erts/emulator/nifs/common/socket_nif.c')
-rw-r--r--erts/emulator/nifs/common/socket_nif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_nif.c b/erts/emulator/nifs/common/socket_nif.c
index ed961d691d..7bafe38273 100644
--- a/erts/emulator/nifs/common/socket_nif.c
+++ b/erts/emulator/nifs/common/socket_nif.c
@@ -7315,6 +7315,8 @@ ErlNifFunc socket_funcs[] =
// {"nif_debug", 1, nif_debug_, 0},
// The proper "socket" interface
+ // This is used when we already have a file descriptor
+ // {"nif_open", 1, nif_open, 0},
{"nif_open", 4, nif_open, 0},
{"nif_bind", 2, nif_bind, 0},
{"nif_connect", 2, nif_connect, 0},