Copyright © 2005-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]

Public Sub SetTimeouts (

nTimeoutConnectionInMs as Int32,

nTimeoutDataInMs as Int32

)


 

[C#]

public void SetTimeouts (

Int32 nTimeoutConnectionInMs,

Int32 nTimeoutDataInMs

);


 

[C++]

public: void SetTimeouts(

Int32 nTimeoutConnectionInMs,

Int32 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