delete swap file
write little server know the connection between the server and the client