Use global magic, host, port and other information. need call settings(), setServerHost() at before call this. When clients do not need to connect to different servers, using it can simplify calls.
With Socket socket, magic, cryptType, key parameters, not need call setServerHost(), settings(). When the same client needs to connect to different servers, it needs to be used. At the same time, if long connection mode is adopted, it needs to be used as well.
With Server host, port, magic, cryptType, key parameters, not need call setServerHost(), settings(). When the same client needs to connect to different servers, it needs to be used.
Rpc client