diff options
author | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-05-07 14:23:03 -0700 |
---|---|---|
committer | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-05-07 14:23:03 -0700 |
commit | 57e289c103ffd8ca64bb95ad621de0643246f4ed (patch) | |
tree | 7913d7fe963701e3c2ac8bc3f2fc5f5bdfc081fb /src/csharp/Grpc.Examples.MathServer/MathServer.cs | |
parent | eb697aa12a4fa153a84b58a7e82ea5684bad067b (diff) | |
parent | 03e82e2cdffbc0d4c19cea9d16e24d0dbf353376 (diff) |
Merge pull request #1504 from jtattermusch/csharp_api_fixes
Polishing the new C# API
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 abc7ef05e4..cfde9b42c7 100644 --- a/src/csharp/Grpc.Examples.MathServer/MathServer.cs +++ b/src/csharp/Grpc.Examples.MathServer/MathServer.cs @@ -46,7 +46,7 @@ namespace math Server server = new Server(); server.AddServiceDefinition(MathGrpc.BindService(new MathServiceImpl())); - int port = server.AddListeningPort(host + ":23456"); + int port = server.AddListeningPort(host, 23456); server.Start(); Console.WriteLine("MathServer listening on port " + port); |