Flash/Neko Chat Example
Here's a small code example showing how you can quickly develop a Realtime Chat using a haxe/Flash Client and a haxe/Neko commandline Server that communicates using haXe Remoting. This package contains the following files :
ClientApi.hx: the API that the Server can call on the ClientServerApi.hx: the API that the Client can call on the ServerClient.hx: the haxe/Flash Client Implementation, uses XMLSocketServer.hx: ther haxe/Neko Server Implementation, uses ThreadRemotingServerapp.hxml: the HXML file to compile the projectserver.nandserver.bat: neko binary and batch file to start the serverclient.swfandclient.html: the precompiled flash client.
Please open the HTML after starting the server and follow the instructions. The source code is very small (4 KB) and should be a good start for people wanting to develop realtime applications.
version #1099, modified 2008-05-03 01:06:37 by ncannasse