On Monday, 28 September 2015 at 13:01:25 UTC, Adam D. Ruppe wrote:
On Monday, 28 September 2015 at 11:44:32 UTC, holo wrote:
if(to!string(buffer[0..received]) == "exit\n")

You shouldn't need that to!string by the way. I believe that will work just comparing the buffer directly.

Converting to string is more important when you are storing a copy than just comparing it.

Yep it it like you wrote. Thank you for advice.

Reply via email to