work to sockets