NetBurner 3.5.8
PDF Version
Stream Update Timeouts

Macros

#define STREAM_UPDATE_TOTAL_TIMEOUT   (55 * 60 * TICKS_PER_SECOND)
 Maximum duration of the entire update transfer (default 55 minutes).
#define STREAM_UPDATE_INACTIVITY_TIMEOUT   (20 * TICKS_PER_SECOND)
 Maximum wait for the next data to arrive (default 20 seconds).

Detailed Description

#include< StreamUpdate.h>


Timeouts applied by ReadBinaryApplicationCodeFromStream() and ReadS19ApplicationCodeFromStream(). The total timeout is the maximum duration of the entire update transfer. The inactivity timeout is the maximum time to wait for the next block of data to arrive, so a stalled or empty stream fails quickly instead of holding the calling task for the full total timeout. Both are in system time ticks. To change a value, define it in your project before this header is included (for example in predef.h or the makefile).