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 reconnect to the same interface , same instance if internet down . #348

Closed
mhdjazmati opened this issue Oct 18, 2015 · 1 comment
Closed

Comments

@mhdjazmati
Copy link

hello , in my android if i lost connection , the onClose() method triggered in my android but it is not in my server (PHP Using Ratchet) .

since the websocket instance is not reusable , so i reassign new instance and establish new connection
THUS : the server will have new interface to this client and the old interface will remain open .

Could i connect to the same old interface ????

@marci4
Copy link
Collaborator

marci4 commented Mar 20, 2017

Hello @mhdjazmati,

the problem you describe looks like a bug in your server.

From the android point it should be possible but it depends on your server.

Greetings
marci4

@marci4 marci4 closed this as completed Mar 20, 2017
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