If two clients are connecting to a server using tls.connect(), the server can communicate with the client that connects, through
const server = tls.createServer(options, function(
socket.write('hello!')
});
How can I make the server send this 'hello' message to all connected clients when a new client connects?
via peter
No comments:
Post a Comment