Skip to content

Commit

Permalink
Merge pull request #1 from vector-man/master
Browse files Browse the repository at this point in the history
Only the enter key stops the server. Fixed.
  • Loading branch information
PavelBansky committed Mar 5, 2014
2 parents 0c1b930 + 2303f42 commit 8574059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EchoTool/Modes/TcpServerMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void Run()
Console.WriteLine(string.Format(Messages.TCPServerCaption, serverPort));

echoServer.Start();
Console.ReadLine();
Console.ReadKey(true);
echoServer.Stop();
}

Expand Down
2 changes: 1 addition & 1 deletion EchoTool/Modes/UdpServerMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void Run()
Console.WriteLine(string.Format(Messages.UDPServerCaption, serverPort));

echoServer.Start();
Console.ReadLine();
Console.ReadKey(true);
echoServer.Stop();
}

Expand Down

0 comments on commit 8574059

Please sign in to comment.