modify socket server