I just wanted to share something that i'been working for a couple of weeks. I wanted to use a WebSocket Server that would be inside of a game. I build one in android with java and i had the intention to build other one in Objective C for IOS.
I made a four part blog with instructions about how to do use it:
The code is on GitHub:
In GitHub you can find:
- A precompiled server enabled version of libwebsockets for android and ios. (websockets.zip)
- A C++ implementation of a WebSocketServer. (WebSocketServer.h, WebSocketServer.cpp)
- An android makefile to include libwebsocket in an android project (Android.mk)
- An additional web client to test the WebSocketServer app (test-server.html)
I hope someone find this useful.