Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Broadcast notification to every user? #38

Closed
engrKaka opened this issue Aug 29, 2016 · 2 comments
Closed

How to Broadcast notification to every user? #38

engrKaka opened this issue Aug 29, 2016 · 2 comments
Labels

Comments

@engrKaka
Copy link

How can I use your repo to broadcast any notification to all users without user interaction i.e. currently there must be some client side activity (as of my knowledge) to notify other users, but i want to notify users from server, actually it will be a count down timer based on server time.

@walkor
Copy link
Owner

walkor commented Aug 29, 2016

Issue #23 may help.

@engrKaka
Copy link
Author

Thanks walkor for your reference.
i got this error when tried to start emit.php
PHP Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:2206 (Connection refused) in /var/www/html/package/socket.php/src/Emitter.php on line 25 PHP Fatal error: Uncaught Exception: Connection refused in /var/www/html/package/socket.php/src/Emitter.php:28 Stack trace: #0 /var/www/html/package/socket.php/src/Emitter.php(20): Emitter->connect() #1 /var/www/html/package/socket.php/test/emit.php(5): Emitter->__construct() #2 {main} thrown in /var/www/html/package/socket.php/src/Emitter.php on line 28
Can you pleas guide me with this?
I want to integrate it with "phpsocket.io" so that both "server.php" and "emit.php" can emit to same visitors

@topin topin mentioned this issue Jul 5, 2016
@walkor walkor closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants