morozovsk / websocket-examples Goto Github PK
View Code? Open in Web Editor NEWphp websocket examples + demos
php websocket examples + demos
Доброго времени суток!
не могу понять строчки: require_once DIR . '/../../../../autoload.php';
в каждом из индексных файлов...
что должно быть в этом скрипте?
Спасибо за ответ!
Thanks
Собствено вот весь текст ошибки Firefox can't establish a connection to the server at ws://127.0.0.1:8004/userId=2651.
ws = new WebSocket("ws://127.0.0.1:8004/userId=" + Math.round(Math.random()*1000...
hello,i use you project to build a chat ios app,but people switching Airplane mode in ios,Server does not listen to disconnect,so server also sendToClient , then the message is lost.how did i resolve this? thank you
Вы не можете подсказать где я чего то не понимаю скачал ваши examples первый и третий чаты подключились и работают второй не получается.
вот так подключаю в консоле nohup php master.php & и nohup php worker.php & сервер запускается но при onsubmit сообщения не выводятся вообше ни чего не выводится если честно.
вот собствено вся история
с этого все начинается
вот submit
"пустая строка" в консоле это я console.log повесил на сабмит куда выводится value inputa
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.