There currently isn't such an API from either core or C++ to do so. 
Depending on the platform, I presume that one could use a process-wide FD 
limit to limit the number of open connections before starting the server, 
but that would be outside the current scope of gRPC.
Regards,
Vijay

On Tuesday, August 2, 2016 at 10:30:18 PM UTC-7, Chaitanya Gangwar wrote:
>
> I am using C++ grpc library.
>
> -Chaitanya
>
> On Tuesday, 2 August 2016 10:11:13 UTC+5:30, Chaitanya Gangwar wrote:
>>
>> Hi,
>>
>> Is there any way to limit maximum number of connections in grpc server ? 
>> I want to limit number of connections till 8 and after that server should 
>> reject any more new client connections.
>>
>> Thanks
>> Chaitanya 
>>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a78606b9-6c77-4fa2-9772-3fbbb3cd83c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to