How to configure the passive peer in Couchbase Lite C?

Hello!

I was wondering if anybody has examples of how to configure a passive peer / listener using the C CBL API?

It’s quite clear from the docs how to set up an active peer (Active Peer | Couchbase Docs), but how to I set up the passive peer? The code snippets are all blank here: Passive Peer | Couchbase Docs

Ideally, I’m looking for something similar to the URLEndpointListenerConfiguration in the C# / .NET api.

Thanks in advance for any tips!

The sad answer is that Passive Peers are not yet implemented in the C SDK due to the complexity of the feature (other languages relied heavily on their runtime features, whereas C and C++ are pretty barren in this area).

1 Like

Ack. Thanks for the quick answer @borrrden!