[grpc-io] Re: [grpc-c++] gRPC polling for incoming packets from multiple sockets

2017-11-07 Thread 'Yang Gao' via grpc.io
Yes. A ServerCompletionQueue is a CompletionQueue and you can use it for client events as well. On Wednesday, November 1, 2017 at 2:01:25 AM UTC-7, Ista Ranjan Samanta wrote: > > Hi, > > Thanks a lot for providing the accomplish able approach towards it. Yes, I > am also using C++ gRPC. > > I

[grpc-io] Re: [grpc-c++] gRPC polling for incoming packets from multiple sockets

2017-11-01 Thread Ista Ranjan Samanta
Hi, Thanks a lot for providing the accomplish able approach towards it. Yes, I am also using C++ gRPC. I was carefully following this concrete example -- https://github.com/grpc/grpc/tree/master/examples/cpp/helloworld On the server you get a completion queue in this line -- *auto cq =

[grpc-io] Re: [grpc-c++] gRPC polling for incoming packets from multiple sockets

2017-10-31 Thread 'Muxi Yan' via grpc.io
Hi! If you are using gRPC C++, you can create server and client calls on the same completion queue so that when you wait for event on that completion queue you wait for those from both sides. On Tuesday, October 31, 2017 at 2:50:15 AM UTC-7, Ista Ranjan Samanta wrote: > > Hey! > > I am also

[grpc-io] Re: [grpc-c++] gRPC polling for incoming packets from multiple sockets

2017-10-31 Thread ista . samanta
Hey! I am also looking into the same kind of handling mechanism to leverage gRPC promises one step forward but unfortunately there is no such example or explanations in the web that I found (:- It's really appreciated if anyone from Core team can reply something here or update the doc with