move moving to struct sock