modify socket_ctl