[haXe] Socket.sendChar(0)?

Nicolas Cannasse ncannasse at motion-twin.com
Mon Dec 10 09:44:35 CET 2007


> I read somewhere in the mailing list archives that Flash is waiting for
> the null
> value, which it never would receive in my code. And I read that the fix
> was to
> do something like this in my server code:
> 
> clientSocket.write("Hello, world!\n");
> clientSocket.sendChar(0);

According to http://haxe.org/api/neko/net/Socket you need to do :
clientSocket.output.writeChar(0);

Best,
Nicolas




More information about the Haxe mailing list