1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-12-08 14:58:42 +00:00

UTF8 support

This commit is contained in:
Carsten
2016-08-27 13:54:16 +02:00
parent aec054188a
commit 51799edf8a
6 changed files with 8 additions and 8 deletions

View File

@ -42,7 +42,7 @@ namespace Ntp.Analyzer.Monitor.Client
clientSocket.Connect(Server);
byte[] sendBuffer = Encoding.ASCII.GetBytes(command);
byte[] sendBuffer = Encoding.UTF8.GetBytes(command);
SocketError error;
clientSocket.Send(sendBuffer, 0, sendBuffer.Length, SocketFlags.None, out error);