init SocketDemo