Answer the question
In order to leave comments, you need to log in
How to determine that io is running?
When starting the application, I want to be sure that the socket io is attached to the server and ready to accept requests. Actually, how to do it? Does io have an analogue of once open, like mongo?
I run it like this:io = require('socket.io')(server);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question