sockets are no provided as parameter on events