How to close socket opened for confd_connect


I see that there is specific close API is given for socket used in cdb_connect and socket used in maapi_connect.
i.e cdb_close, and maapi_close.

But there is no specific call for socket used for confd_connect. why is it so? shall we use close() linux call to close

yes, control and worker sockets can be closed with standard close call.

The cdb_close and maapi_close do some additional processing (like ending the sessions), which is
not needed for confd_connect.