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

Socket is not connected properly #9

Open
varungoyal345 opened this issue Jun 8, 2016 · 0 comments
Open

Socket is not connected properly #9

varungoyal345 opened this issue Jun 8, 2016 · 0 comments

Comments

@varungoyal345
Copy link

Issue faced in this library :-

When I write the correct port number, no method is called like onOpen(), onMessage() therefore, we cannot determine whether socket connection is established or not.
However, I try to crosscheck by putting the wrong port number, for instance 3005 in place of 3000, then the control falls under onError() method and the above message comes under log.

failed to connect to /112.196.1.218 (port 3005): connect failed: EHOSTUNREACH (No route to host).

I am unable to figure out then, why no method is called when the correct port number is written down.

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

1 participant