Real-Time Traffic in Ad-hoc Sensor Networks