diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-07-26 12:53:48 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-07-26 12:53:48 -0700 |
commit | f0295cb88598ccc7428ad67d8d7bddbc29620152 (patch) | |
tree | e0295adeb962fb6b0060cb3c9b515836b023c0b0 /src/csharp/Grpc.Examples.MathServer/MathServer.cs | |
parent | 26b3714b72d708ac3c9e62c6330a935ec5ba09f1 (diff) | |
parent | dfc42da76011eec3270b3dbcc94748916e0aa5b2 (diff) |
Merge branch 'sometimes-its-good-just-to-check-in-with-each-other' into yeah-we-know-what-youre-talking-about
Diffstat (limited to 'src/csharp/Grpc.Examples.MathServer/MathServer.cs')
-rw-r--r-- | src/csharp/Grpc.Examples.MathServer/MathServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.MathServer/MathServer.cs b/src/csharp/Grpc.Examples.MathServer/MathServer.cs index f440985112..468eefbe3e 100644 --- a/src/csharp/Grpc.Examples.MathServer/MathServer.cs +++ b/src/csharp/Grpc.Examples.MathServer/MathServer.cs @@ -44,7 +44,7 @@ namespace math Server server = new Server(); server.AddServiceDefinition(Math.BindService(new MathServiceImpl())); - int port = server.AddListeningPort(host, 23456); + int port = server.AddPort(host, 23456, ServerCredentials.Insecure); server.Start(); Console.WriteLine("MathServer listening on port " + port); |