gRPC C++ does not have any API to allow the client to bind to a specific IP address at the moment.
On Wednesday, February 26, 2020 at 1:45:15 AM UTC-8 [email protected] wrote: > My application communicates with gRPC server. Is there any way for gRPC > client to bind to a particular interface or device? Or can I bind to > particular IP? Will it work? Is there any way? > > Linux POSIX socket provides SO_BINDTODEVICE option but I am not sure if > gRPC has any application layer method or function to achieve it. I tried > other forums but couldn't find something useful. > > Is there any workaround to achieve the same thing? > > On Tuesday, February 25, 2020 at 11:29:45 AM UTC+5:30, Abhi Arora wrote: > >> I have a Linux Embedded Machine with gRPC cross-compiled for it. I am >> looking to create multiple instances of gRPC each bind to a particular >> interface or device. Linux POSIX socket provides SO_BINDTODEVICE option but >> I am not sure if gRPC has any application layer method or function to >> achieve it. I tried other forums but couldn't find something useful. >> >> Is there any workaround to achieve the same thing? >> >> Please help me. >> >> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/96a58878-648a-4faa-9d6e-4481221346b4%40googlegroups.com.
