aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar K.K. Yap <yapkke@stanford.edu>2017-09-11 16:20:04 -0700
committerGravatar GitHub <noreply@github.com>2017-09-11 16:20:04 -0700
commita6721a0979029a2492631e075946556ce7c0eaf2 (patch)
tree9b41dbc77c95f73369be0273e4ae1ed01889e2f6 /include
parent1b96418c0e61dd275df2e3dde3390085f7542936 (diff)
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/server_builder.h6
1 files changed, 4 insertions, 2 deletions
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., [::]:<port>, 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