socket_cb_callback

@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.

extern (C) nothrow @nogc
alias socket_cb_callback = int function
(
int domain
,
int type
,,
void* opaque
)
nothrow @nogc

Meta