Copyright © 2001-2018 MultiMedia Soft

Downloader.SetTimeouts method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modify timeouts for the downloader.

 

For details about management of download sessions from HTTP and FTP servers, refer to the How to manage download sessions tutorial.

 

 

Syntax

 

[Visual Basic]

control.Downloader.SetTimeouts (

nTimeoutConnectionInMs as Long,

nTimeoutDataInMs as Long

)


 

[C++]

void control.Downloader.SetTimeouts (

long nTimeoutConnectionInMs,

long nTimeoutDataInMs

);


 

 

Parameter

Description

 

 

nTimeoutConnectionInMs

Number representing the connection timeout expressed in milliseconds.

Set this parameter to -1 for keeping the current value.

nTimeoutDataInMs

Number representing the data timeout expressed in milliseconds.

Set this parameter to -1 for keeping the current value.

Set this parameter to 0 for disabling the data timeout.

 

 

Return value

 

None