Alireza Hatami
Alireza Hatami
thx jkarneges. but when i use this port on my client side i get ``` Can’t establish a connection to the server at ws://localhost:5561/ws. ``` why?
sorry. but how connect backend(php) to frontend(js)? my code not work. why? frontend ``` var ws = new WebSocket('ws://localhost:7999/ws'); ws.onmessage = function (message) { console.log(message.data); }; ``` backend ``` $pub...
thx. you help is very helpful. i think documents need more clear specially in php+js programming. and the last question is how can create new channel name. any channel except...
thx but im confused. to create new channel i used below code ``` ``` but i get ```Notice: Undefined offset: 0``` how can i create new channel and how assign...
any solution?
thank you stipic. but by all this, i cant send a message to specific user and only receive default broadcast like ``` Received message 936 has left foor/bar ``` how...
@silvalooky thanks. i pass that error and now i drop in ` error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6.6.0