desk_socket_before_mod