Websocket Server
For complete explanations, please have a look at : https://www.enib.fr/~harrouet
Considering that in HTTP, the value can change only after a client request,
if I want to refresh a value on a web page, I can :
- download all the page ( heavy php way )
- Make the client ask to refresh a value ( javascript / ajax way )
- change the http protocole in a websocket protocole to get a bidirectionnal communication tube between the client and the server.
Websocket Server ( server sends random datas )
SOURCE CODE







