capture reads packets and is ready to send to frontend