proposal: net: add Control-only SyscallConn to Listeners #22065
Go 1.9 added RawConn to some net.Conns, allowing access to the OS' FD. It seems like a similar function could be added to Listeners.
We have a use case where we'd like to set a sockopt on a TCPListener, which could be simplified by being able to call TCPListener.RawConn (or similar) with the same semantics as for net.Conn.
cc @mikioh (?)
The text was updated successfully, but these errors were encountered: