modify some socket part

wait for test