Edit: This is now possible
You can now simply call socket.disconnect()
on the server side.
My original answer:
This is not possible yet.
If you need it as well, vote/comment on this issue.
More Related Contents:
- How can I integrate socket.io on Karate
- Sending message to a specific ID in Socket.IO 1.0
- Send message to specific client with socket.io and node.js
- Socket.IO – how do I get a list of connected sockets/clients?
- Socket.IO Authentication
- How to send a message to a particular client with socket.io
- What is an example of the simplest possible Socket.io example?
- Socket.io 1.x: use WebSockets only?
- socket.io.js not found
- socket.io rooms or namespacing?
- Is it possible to combine React Native with socket.io
- Maximum concurrent Socket.IO connections
- What’s the difference between io.sockets.emit and broadcast?
- Can’t find socket.io.js [duplicate]
- Good beginners tutorial to socket.io? [closed]
- Cross-domain connection in Socket.IO
- How to get room’s clients list in socket.io 1.0
- Examples in using RedisStore in socket.io
- Update all clients using Socket.io?
- Node.js – How can I remove the port from the url? [closed]
- AngularJS and WebSockets beyond
- Websocket transport reliability (Socket.io data loss during reconnection)
- Separating file server and socket.io logic in node.js
- How to resolve a Socket.io 404 (Not Found) error?
- How to use socket.io in express routes?
- NPM – Can’t install socket.IO
- Socket.io – Manual reconnect after client-side disconnect
- npm install -g karma error MSB4019: The imported project “C:\Microsoft.Cpp.Default.props” was not found
- Socket.io rooms difference between broadcast.to and sockets.in
- How to connect two node.js servers with websockets?