Comments (3)
$connector->onConnected(function() use ($connector) {
$connector->publish('test', 'example message',1);
$this->info('Connected');
});
$loop->run();
onConnected
method not work, and i can find the client info from websocket, but cannot receive anything from reactphpmqtt.
from phpmqttclient.
Hey! Sorry for the late response. Have you tried to set the DNS to your local network DNS provider? The example code in README.md is using the 8.8.8.8 Google DNS, so localhost is not reachable
from phpmqttclient.
It seems there is no response. I will close this issue
from phpmqttclient.
Related Issues (14)
- Test ticket from Code Climate HOT 1
- SocketClient Component is outdated. Use Socket Component instead
- Code coverage incorrectly reported HOT 1
- React's EventLoop should be passed as constructor argument, to avoid creating multiple loops in the same process HOT 3
- why does direct echo in processing? HOT 3
- Package Identifier is missing when Publish if QoS > 0 HOT 8
- Update README
- User process fail(/mnt/d/www/devops/server/vendor/react/stream/src/WritableResourceStream.php Unable to set stream resource to non-blocking mode 35)! HOT 1
- Author is searching for a new maintainer HOT 1
- QOS>0 is OK? HOT 5
- this is good! HOT 1
- Q: Is is possible to make TLS/PSK connections? HOT 2
- When can we expect a 1.x release?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpmqttclient.