librdkafka
The Apache Kafka C/C++ client library
|
Portability: SocketCb callback class More...
#include <rdkafkacpp.h>
Public Member Functions | |
virtual int | socket_cb (int domain, int type, int protocol)=0 |
Socket callback. More... | |
Portability: SocketCb callback class
|
pure virtual |
Socket callback.
The socket callback is responsible for opening a socket according to the supplied domain
, type
and protocol
. The socket shall be created with CLOEXEC
set in a racefree fashion, if possible.
It is typically not required to register an alternative socket implementation
errno
must be set)