nn::nex::StreamSettings::SetMaxRetransmission Member Function

Syntax

qResult SetMaxRetransmission(
     qUnsignedInt32 ui16MaxRetransmission
);

Parameters

Name Description
in ui16MaxRetransmission The maximum number of retransmissions.

Return Values

Always returns QSUCCESS(Core, Success).

Description

Sets a maximum value for the number of retransmissions.

The value represents the maximum number of times to retransmit a packet being sent to a station. If the number of retransmissions exceeds the maximum value, it is assumed that the station is no longer connected. You can increase tolerance in poor-quality network environments by setting large values for the maximum number of retransmissions in addition to the maximum silence time. Conversely, by setting small values you can detect faults sooner.

See Also

GetMaxRetransmission, SetMaxSilenceTime

Revision History

2014/04/16
Changed the notation of the QRESULT_SUCCESS return value to QSUCCESS.
2012/01/26
Initial version.

CONFIDENTIAL