You’re not calling lcb_wait
, and you aren’t deferring to any event loop to perform the wait for you.
I tried running your program, but the DEBUG build would fail with various assertions and the RELEASE build kept asking for a config file.
In any event, I was able to set the loglevel in the application (via setting LCB_LOGLEVEL
in the environment), and it does indeed seem that the application is not even attempting a network connection.