Added Liu's new socket configuration