append __set_on_build_sock
support sentinel