I am interested in building a custom Websocket server for college project. I have a good familiarity about HTTP 1.1 and knows quite well of how it works. I am asking this question assuming that Websocket clients (browsers) have their protocol specification since Websocket clients connects to Websocket server through URL begins with ws://. In addition, can Websocket server implemented without single threaded and event based environment feature of language?Thank you.
Websocket protocol server development
javascript;http;tcp
Websocket servers can be implemented without single-threaded and event based environments. More than that, even such environments (like nodejs) can run multiple threads.However, I would approach this problem using nodejs. In specific, you can use something like Sails.js. It lets you develop the sort of standard APIs you know how to develop from frameworks like Ruby on Rails, ASP.NET MVC, Python Django or whatever you're coming from only you're serving directly to WebSockets (can also serve to HTTP).Also, socket.io is really nice and lets you do a lot of nifty stuff on the client-side and on the server-side. That site has plenty of nice examples.