DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
socket.io how do i get a list of connected sockets clients
const sockets = (await io.fetchSockets()).map(socket => socket.id); console.log(sockets);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#list
#connected
#sockets
#clients
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit