can grpc python server distinguish two c# clients which are connected to it?

32 views
Skip to first unread message

Yanglan Wang

unread,
Nov 19, 2021, 11:21:15 AM11/19/21
to grpc.io
I have such a scenario, in the python server, it uses class to calculate and update the instance' s state, then sends such state to corresponding client; in the client side, more than one clients need to communication with the server to get its one result and not interfere by others. Can grpc python server distinguish with different clients?

yas...@google.com

unread,
Dec 1, 2021, 2:29:34 PM12/1/21
to grpc.io
The server API would have a way to get the peer URI. Does that help?
Reply all
Reply to author
Forward
0 new messages