A simple web server can be implemented in pure J with socket api. I would like to learn what will be the advantage of using qtcpserver?
01.06.2014, в 8:40, Joe Bogner <[email protected]> написал(а): > Has any consideration been given to exposing QTcpServer through jqt? This > would provide a cross platform async socket implementation. Also, what > about providing a HTTP server implementation like > https://github.com/nikhilm/qhttpserver ? > > I've been dabbling with libuv.( > http://www.jsoftware.com/jwiki/JoeBogner/LibuvTimer) and have considered > implementing a web server like node.js for J using libuv. I would be less > motivated if its already on the roadmap > > In addition to a node.js similar implementation, I would like to implement > a server that lets all my devices connect to it and be remotely controlled. > > For example, I have a linux VPS that would be the host. My android phone, > running a persistent jconsole could have a persistent connection to the > VPS. My VPS could run a web app that lets me send commands to my phone or > other connected devices or clients. > > I could have the server (VPS) periodically collect temperature, gps > readings or even photos from the camera. My phone is a Galaxy S4 with temp > sensors. > > I could also use it to send remote commands to other clients instead of > remoting into the server to do something. For example, I need to deploy one > app by remoting into the server and doing a git pull to pull the repository > into the prod location. I could invoke that remotely by sending a command > to a J client that is proxied through my VPS. > > > Anyhow, a bit of a pipe dream but I don't think it's that far off. Of > course, there are security concerns and possibly other ways of > accomplishing this. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
