otp
otp copied to clipboard
ERL-1138: Create gen_udp, gen_tcp, and gen_sctp from bound file descriptor
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.