revise the socket file discpritor