ghttpSetMaxRecvTime

GameSpy SDK

ghttpSetMaxRecvTime

Used to throttle based on time, not on bandwidth.

void ghttpSetMaxRecvTime(
GHTTPRequest request,
gsi_time maxRecvTime );
RoutineRequired HeaderDistribution
ghttpSetMaxRecvTime<ghttp.h>SDKZIP

Parameters

request
[in] A valid request object
maxRecvTime
[in] Maximum receive time

Remarks

Prevents recv-loop blocking on ultrafast connections without directly limiting transfer rate.

Section Reference: Gamespy HTTP SDK