Text this: Effects on lifetime of opportunistic network based on Epidemic routing under flooding attacks