Skip to content
Browse files

Need your help. Have BUG

After some time do not send commands to Crossfire.
  • Loading branch information...
1 parent 4ab8902 commit 05ce6321bdefac92ab320e13edd5881900590ade @olegzu committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 CrossFire.cs
View
3 CrossFire.cs
@@ -145,6 +145,9 @@ public static void SendData(string data)
string s = "Content-Length:" + (data.Length).ToString() + "\r\n\r\n" + data + "\r\n";
// socket.Send(ASCII.GetBytes(s));
byte[] buffer = ASCII.GetBytes(s);
+ // Need your help. Have BUG.
+ // After some time do not send commands to Crossfire.
+ // Messages from Crossfire are accepted all the time
networkStream.Write(buffer, 0, buffer.Length);
}

0 comments on commit 05ce632

Please sign in to comment.
Something went wrong with that request. Please try again.