grpc CallbackApi: how to handle new client connections?

41 views
Skip to first unread message

Oleg Linkin

unread,
Aug 3, 2021, 7:50:25 PM8/3/21
to grpc.io
Hi, I try to use new callback api for c++ but I struggle with handling new incoming connections on server side. As I see from examples - always only one client can connect per time. My code works the same and until I stop one client I can't run another one.
In prev async api we simply call requestApi to handle each new client. How to do the same for callback api?
Thank you.

Oleg Linkin

unread,
Aug 4, 2021, 11:04:35 AM8/4/21
to grpc.io
Oh. Nothing works because of my `m_Cq = builder.AddCompletionQueue();` in callback server. Remove this string and all starts work. 
Sorry, for bothering you.
Thank you

Reply all
Reply to author
Forward
0 new messages