I don't see any reason to start a server at client machine. Are you going to use unary calls or bi-directional streaming calls?
Assuming you are using Java, it would be helpful if you read the Client Stub and Server Stub sections in the document https://grpc.io/docs/reference/java/generated-code.html There are also code examples in https://github.com/grpc/grpc-java/tree/v1.12.0/examples/src On Thursday, May 10, 2018 at 4:06:40 AM UTC-7, roc wrote: > > i have client and server. i need send data from data to server and send > data from server to client . > should i cache StreamObserver both in client and server or start a server > at client machine. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/abaa3f1a-71fb-480f-9139-5ecf5218d331%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
