@brief Set socket callback.
The socket callback is responsible for opening a socket according to the supplied \p domain, \p type and \p protocol. The socket shall be created with \c CLOEXEC set in a racefree fashion, if possible.
Default: - on linux: racefree CLOEXEC - others : non-racefree CLOEXEC
@remark The callback will be called from an internal librdkafka thread.
See Implementation
@brief Set socket callback.
The socket callback is responsible for opening a socket according to the supplied \p domain, \p type and \p protocol. The socket shall be created with \c CLOEXEC set in a racefree fashion, if possible.
Default: - on linux: racefree CLOEXEC - others : non-racefree CLOEXEC
@remark The callback will be called from an internal librdkafka thread.