Server side command execution.

holo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 28 02:59:15 PDT 2015


On Monday, 28 September 2015 at 04:55:30 UTC, tcak wrote:
> On Sunday, 27 September 2015 at 23:56:10 UTC, holo wrote:
>> Hello
>>
>> Im trying to execute commands on server side. Here is my 
>> server based on other example from forum:
>>
>> [...]
>
> You are comparing whole buffer to "exit"

I changed my condition to:

if(to!string(buffer[0..received]) == "exit")
	{
		
		break;
	}


But it still dint help.


More information about the Digitalmars-d-learn mailing list