App mutithread client/server