[3]modify class socket