How to use SetSocketMutator

59 views
Skip to first unread message

Liping Zhang

unread,
Nov 8, 2020, 10:53:46 PM11/8/20
to grp...@googlegroups.com
Hi, We need to implement an endpoint with a custom socket... with a quick search, found "Socket_Mutator" seems a starting point, wonder anyone has experience in this respect ?  how to use "SetSocketMutator" during runtime to specify the custom endpoint?

Thanks
Liping

yas...@google.com

unread,
Dec 24, 2020, 3:00:50 AM12/24/20
to grpc.io
Hi,

The socket mutator API is usually used to add socket options to fds and not to use a custom endpoint altogether. Currently, gRPC C++ does not provide a public API to use a  custom endpoint, so there is no straightforward to do this without getting into the gRPC internals.
Reply all
Reply to author
Forward
0 new messages