socket server works