Skip to content

Socket is not connected properly #9

@varungoyal345

Description

@varungoyal345

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions