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 can I send messages to different server in one request ? #17

Open
idve opened this issue Oct 11, 2019 · 1 comment
Open

How can I send messages to different server in one request ? #17

idve opened this issue Oct 11, 2019 · 1 comment

Comments

@idve
Copy link

idve commented Oct 11, 2019

Hi, My friend:
this is my question. I used this client in my project. there are two workman-server in my project .
I need to send the same message to those server.So, how can i do it?

@walkor
Copy link
Owner

walkor commented Oct 14, 2019

Gateway::$registerAddress = 'ip1:port1';
Gateway::sendToClient(....);

Gateway::$registerAddress = 'ip2:port2';
Gateway::sendToClient(....);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants