made some changes to sockServer.java