Example of sockets in controller