Open ergo opened 10 years ago
I think I had to setup my socket as blocking and run in a thread. I'll see what I can do about getting an example up.
hello MattTuttle ,
good work in this lib , but on the above question you got to do , the sample websocket ?
I would also like to see an easy-to-follow example of client(s)/server communication via WebSockets :+1:
Not sure if thats still usefull to anyone, but i build a very rudimentary echo example: https://github.com/sh-dave/hxnet-examples
-server only tested on windows with vs2012 -console client only tested on windows with vs2012 -flash client only seems to run with the standalone player, not in the generated html in a browser -flash client requires the bugfixes in https://github.com/MattTuttle/hxnet/pull/10
Edit: added neko project files as well now (websocket_echo_service / websocket_console_client)
Hello,
I've been trying to use hxnet for my small test app using WebSocket protocol, but I can't wrap my head around how its supposed to be used.
I have this: https://friendpaste.com/6gkiAuChCt53GMZ3lPOOaM I've managed to connect to my websocket server, but im clueless how to read/write messages from it.
Any chance you could include a demo for it?