Is there an event / some way to detect when a client connects (browser loads a page that has the script on it)? I'm using the callback in the `server.listen()` function that tells me that the server is up and running. Are there more events?
Is there an event / some way to detect when a client connects (browser loads a page that has the script on it)?
I'm using the callback in the
server.listen()function that tells me that the server is up and running. Are there more events?