attach the name of the controller to the socket