Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

How to stop listening to socket server from client service #103

Closed
gkumar9 opened this issue Dec 11, 2017 · 5 comments
Closed

How to stop listening to socket server from client service #103

gkumar9 opened this issue Dec 11, 2017 · 5 comments

Comments

@gkumar9
Copy link

gkumar9 commented Dec 11, 2017

No description provided.

@daffl
Copy link
Member

daffl commented Dec 11, 2017

One way would be to just disconnect from the socket. What specifically are you trying to accomplish?

@gkumar9
Copy link
Author

gkumar9 commented Dec 12, 2017

screenshot from 2017-12-12 10-14-29

This keeps coming in my console

  import feathers from 'feathers/client';
  import socketio from 'feathers-socketio/client';
  import io from 'socket.io-client';

@daffl
Copy link
Member

daffl commented Dec 12, 2017

Is socketserver.com actually a valid domain that your server is running on?

@gkumar9
Copy link
Author

gkumar9 commented Dec 12, 2017

@daffl No its a demo server.i once tested with that link. But then i removed it from the code .But still its giving error. It seems if socket is connected then we have to forcefully disconnect . But I don't know how to disconnect it .

@daffl
Copy link
Member

daffl commented Dec 12, 2017

What about socket.disconnect()?

@daffl daffl closed this as completed Dec 15, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants