otp icon indicating copy to clipboard operation
otp copied to clipboard

ERL-1138: Create gen_udp, gen_tcp, and gen_sctp from bound file descriptor

Open OTP-Maintainer opened this issue 5 years ago • 1 comments

Original reporter: hauleth Affected version: Not Specified Component: kernel Migrated from: https://bugs.erlang.org/browse/ERL-1138


It would be very nice to have possibility to create {{gen_*}} connections from already bound file descriptor. Currently passing {{{fd, Fd}}} will always try to bind connection which prevents using {{systemd}} (and possibly other tools) for socket activation.

OTP-Maintainer avatar Jan 18 '20 16:01 OTP-Maintainer