The server side and iOS client comes "https://github.com/funkyboy/Socket-Based-iOS-Application-and-Server",you may download them, here are android client version, please visit "https://www.youtube.com/watch?v=GPNWAw1djvg" for demo video!