On Wed, 2024-06-19 at 10:51 +0800, Geliang Tang wrote: > From: Geliang Tang <tanggeliang@xxxxxxxxxx> > > This patch extracts a new helper client_socket() from connect_to_fd_opts() > to create the client socket, but don't connect to the server. Then > connect_to_fd_opts() can be implemented using client_socket() and > connect_fd_to_addr(). This helper can be used in connect_to_addr() too, > and make "noconnect" opts useless. > > Signed-off-by: Geliang Tang <tanggeliang@xxxxxxxxxx> > --- Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>