Check this API:

https://grpc.github.io/grpc/cpp/grpc_8h.html#a3af54515116727e18116883e64ee031e
(I
didn't try this)

grpc_channel_destroy()

On Sun, Jul 21, 2019 at 3:30 AM sayan mandal <[email protected]> wrote:

> How to close a ::grpc:channel object? When I do just delete(obj) I get a
> seg fault. I am trying to close the channel on a singal handler.
>
> Regards,
> Sayan Mandal
>
> *Ph : +91-8902552884*
> Final Year Undergraduate Student,
> Computer Science and engineering,
> Indian Institute Of Technology Kharagpur,
> *E : *[email protected]
>
>
>
> On Fri, Jul 19, 2019 at 11:36 PM Sidhartha Thota <[email protected]>
> wrote:
>
>> Server:
>> https://grpc.github.io/grpc/cpp/grpc_8h.html#a5950aea48195923a1f4f585b1ecb6ba0
>> Client:
>> https://grpc.github.io/grpc/cpp/grpc_8h.html#a3af54515116727e18116883e64ee031e
>>
>> Above is the official c++ documentation sample methods to stop/close the
>> GRPC channels. You can also find other useful APIs in the same webpage to
>> stop based on your usecase.
>>
>> On Fri, Jul 19, 2019 at 11:01 AM sayan mandal <[email protected]>
>> wrote:
>>
>>>
>>> c++.
>>>
>>> Regards,
>>> Sayan Mandal
>>>
>>> *Ph : +91-8902552884*
>>> Final Year Undergraduate Student,
>>> Computer Science and engineering,
>>> Indian Institute Of Technology Kharagpur,
>>> *E : *[email protected]
>>>
>>>
>>> [image: Mailtrack]
>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>>  Sender
>>> notified by
>>> Mailtrack
>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>>  07/19/19,
>>> 11:30:02 PM
>>>
>>> On Fri, Jul 19, 2019 at 11:28 PM Sidhartha Thota <[email protected]>
>>> wrote:
>>>
>>>> Which language you are interested in?
>>>>
>>>> On Fri, Jul 19, 2019 at 10:39 AM sayan mandal <[email protected]>
>>>> wrote:
>>>>
>>>>> Hey,
>>>>>    Can anyone tell me how to close the sockets created in a grpc
>>>>> connection?
>>>>>
>>>>> Regards,
>>>>> Sayan Mandal
>>>>>
>>>>> *Ph : +91-8902552884*
>>>>> Final Year Undergraduate Student,
>>>>> Computer Science and engineering,
>>>>> Indian Institute Of Technology Kharagpur,
>>>>> *E : *[email protected]
>>>>>
>>>>>
>>>>> --
>>>>> 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/CAEmQCHzk1HA75bkV4yrbn89KtAtQEUW%3DwhSdEGNPhqau1hiZeA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/grpc-io/CAEmQCHzk1HA75bkV4yrbn89KtAtQEUW%3DwhSdEGNPhqau1hiZeA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Sidhartha Thota.
>>>>
>>>
>>
>> --
>> Thanks,
>> Sidhartha Thota.
>>
>

-- 
Thanks,
Sidhartha Thota.

-- 
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/CALguN-H5CL6-4KbD4d0VDvb8YJ7JhpPkZO4Mx7NHwkKV9-7ugA%40mail.gmail.com.

Reply via email to