From a6721a0979029a2492631e075946556ce7c0eaf2 Mon Sep 17 00:00:00 2001 From: "K.K. Yap" Date: Mon, 11 Sep 2017 16:20:04 -0700 Subject: Comment that IPv6 Any accepts both IPv4 and IPv6 connections. --- include/grpc++/server_builder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index 21ae70d13a..bbf45b3e74 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -136,8 +136,10 @@ class ServerBuilder { /// It can be invoked multiple times. /// /// \param addr_uri The address to try to bind to the server in URI form. If - /// the scheme name is omitted, "dns:///" is assumed. Valid values include - /// dns:///localhost:1234, / 192.168.1.1:31416, dns:///[::1]:27182, etc.). + /// the scheme name is omitted, "dns:///" is assumed. To bind to any address, + /// please use IPv6 any, i.e., [::]:, which also accepts IPv4 + /// connections. Valid values include dns:///localhost:1234, / + /// 192.168.1.1:31416, dns:///[::1]:27182, etc.). /// \params creds The credentials associated with the server. /// \param selected_port[out] If not `nullptr`, gets populated with the port /// number bound to the \a grpc::Server for the corresponding endpoint after -- cgit v1.2.3