client/server mode doc