Study:socket server and client