connection termination of grpc server and client

46 views
Skip to first unread message

sayan mandal

unread,
Jul 19, 2019, 1:39:51 PM7/19/19
to grp...@googlegroups.com
Hey,
   Can anyone tell me how to close the sockets created in a grpc connection?

Regards,
Sayan Mandal

Final Year Undergraduate Student,
Computer Science and engineering,
Indian Institute Of Technology Kharagpur,


Sidhartha Thota

unread,
Jul 19, 2019, 1:58:25 PM7/19/19
to sayan mandal, grpc.io
Which language you are interested in?

--
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 grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAEmQCHzk1HA75bkV4yrbn89KtAtQEUW%3DwhSdEGNPhqau1hiZeA%40mail.gmail.com.


--
Thanks,
Sidhartha Thota.

sayan mandal

unread,
Jul 19, 2019, 2:01:05 PM7/19/19
to Sidhartha Thota, grpc.io

c++.

Regards,
Sayan Mandal

Final Year Undergraduate Student,
Computer Science and engineering,
Indian Institute Of Technology Kharagpur,


Mailtrack Sender notified by
Mailtrack 07/19/19, 11:30:02 PM

Sidhartha Thota

unread,
Jul 19, 2019, 2:06:05 PM7/19/19
to sayan mandal, grpc.io

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.
--
Thanks,
Sidhartha Thota.

sayan mandal

unread,
Jul 21, 2019, 6:30:41 AM7/21/19
to Sidhartha Thota, grpc.io
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

Final Year Undergraduate Student,
Computer Science and engineering,
Indian Institute Of Technology Kharagpur,


Sidhartha Thota

unread,
Jul 22, 2019, 2:00:21 PM7/22/19
to sayan mandal, grpc.io
Check this API: 


grpc_channel_destroy()

--
Thanks,
Sidhartha Thota.
Reply all
Reply to author
Forward
0 new messages