transition to sockets