sockets in action