Can you help me then which files needs to be modified for this feature
(binding to particular interface or/AND IP)?

It will help us alot.

Thanks for your help

On Mon, 9 Mar 2020, 1:10 pm Nicolas Noble, <[email protected]> wrote:

> When designing the gRPC API, we did not find this to be a common needs
> feature, no.
>
> While inspecting other common APIs for doing, say, HTTP requests, while
> libcurl or python's http client do provide a source address, this isn't
> present in nodejs' socket class, or in Ruby's Net::HTTP - not without
> monkey patching.
>
> Long story short: no, we do not believe this is an essential feature, and
> we don't want to complexify our API to provide this knob.
>
> On Tue, Mar 3, 2020 at 5:47 PM <[email protected]> wrote:
>
>> I want my grpc client use a particular interface ip to connect grpc
>> server.  For now, the source ip address grcp client used is decided by
>> kernel.
>> I wander, Why doesn't gRPC provide a  api/method for grpc client to bind
>> the socket to a particular interface? This is kind of a common needs.
>> And, is there any other way to achieve this goal? Would be nice if anyone
>> can help. Thanks a lot.
>>
>> --
>> 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/56e7f413-032c-4dc1-8dc7-aae81bbffea3%40googlegroups.com
>> <https://groups.google.com/d/msgid/grpc-io/56e7f413-032c-4dc1-8dc7-aae81bbffea3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAEvr0PGg%2B3zzLnuHbkXwWT_OgzUseKCc2OxYGPUVAh76QLk3-w%40mail.gmail.com
> <https://groups.google.com/d/msgid/grpc-io/CAEvr0PGg%2B3zzLnuHbkXwWT_OgzUseKCc2OxYGPUVAh76QLk3-w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADqM%3D-z7tKmTYXOxboMGGo7Ta51v9NFj-95pmVRV-j6fQMKd9g%40mail.gmail.com.

Reply via email to