Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- io.on('connection', function (client) {
- client.on('ongoing_connect', function (data) {
- client.emit('user_ready', function (response) {
- console.log('Response received');
- });
- });
- })
- socket.on('user_ready', function (callback) {
- callback(true);
- });
Add Comment
Please, Sign In to add comment