<div dir="ltr">I've got a situation where I'd like to in effect duplicate a socket. Look at it's options, peername, etc. and make another connection. Looking over inet.erl I discovered inet:options/0 which provides a list of possible options which can/could be used with inet:getopts/2 but I noticed a few missing keys such as packet_size. Further in the module you'll see connection_options/0 and listen_options/0 which would be perfect but they aren't exported.<div><br></div><div>Anyone know why these aren't exported or why there isn't a shortcut to the option list to getopts/2 like 'all'? Would there be any interest in a patch providing some of this functionality?</div></div>