Closed kamalsamra closed 7 years ago
I know this but in this i have to run one function which is continuously check data from database so in which function i wrote that code like in normal php websocket we write it in tick function
You can use onTimer() for examle: https://github.com/morozovsk/websocket-examples/blob/master/game/server/GameWebsocketDaemonHandler.php
"nohup php index.php start &" https://github.com/morozovsk/websocket