From 3d4fc4abfe510d51ce477309f98412b8119bcaf6 Mon Sep 17 00:00:00 2001 From: Robbie Shade Date: Tue, 4 Aug 2015 19:20:00 -0400 Subject: Expose the UDP server FD --- src/core/iomgr/udp_server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/iomgr/udp_server.h b/src/core/iomgr/udp_server.h index 7f49068031..fcc4ba6e97 100644 --- a/src/core/iomgr/udp_server.h +++ b/src/core/iomgr/udp_server.h @@ -55,6 +55,8 @@ void grpc_udp_server_start(grpc_udp_server *server, grpc_pollset **pollsets, size_t pollset_count, grpc_udp_server_cb cb, void *cb_arg); +int grpc_udp_server_get_fd(grpc_udp_server *s, unsigned index); + /* Add a port to the server, returning port number on success, or negative on failure. -- cgit v1.2.3