Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 3.08 KB

ns-wsrm-rm_fec_info.md

File metadata and controls

97 lines (73 loc) · 3.08 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wsrm._RM_FEC_INFO
RM_FEC_INFO (wsrm.h)
The RM_FEC_INFO structure specifies settings for using forward error correction (FEC) with Reliable Multicast. This structure is used with the RM_USE_FEC socket option.
RM_FEC_INFO
RM_FEC_INFO structure [Winsock]
winsock.rm_fec_info
wsrm/RM_FEC_INFO
winsock\rm_fec_info.htm
WinSock
c5dcf0fd-dffc-473b-a8f2-0abbaa0ec446
12/05/2018
RM_FEC_INFO, RM_FEC_INFO structure [Winsock], winsock.rm_fec_info, wsrm/RM_FEC_INFO
wsrm.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
RM_FEC_INFO
19H1
_RM_FEC_INFO
wsrm/_RM_FEC_INFO
RM_FEC_INFO
wsrm/RM_FEC_INFO
c++
APIRef
kbSyntax
HeaderDef
Wsrm.h
RM_FEC_INFO

RM_FEC_INFO structure

-description

The RM_FEC_INFO structure specifies settings for using forward error correction (FEC) with Reliable Multicast. This structure is used with the RM_USE_FEC socket option.

-struct-fields

-field FECBlockSize

Maximum number of packets that can be sent for any group, including original data and parity packets. Maximum and default value is 255.

-field FECProActivePackets

Number of packets to send proactively with each group. Use this option when the network is dispersed, and upstream NAK requests would have an impact on throughput.

-field FECGroupSize

Number of packets to be treated as one group for the purpose of computing parity packets. Group size must be a power of two. In lossy networks, keep the group size relatively small.

-field fFECOnDemandParityEnabled

Specifies whether the sender is enabled for sending parity repair packets. When TRUE, receivers should only request parity repair packets.

-remarks

The RM_USE_FEC socket option notifies the Reliable Multicast sender to apply forward error correction techniques to send repair data. there are three modes of using forward error correction:

  1. Pro-active parity packets only
  2. OnDemand parity packets only
  3. Both pro-active and OnDemand parity packets
Since the use of this structure implies the need for forward error correction, either the FECProActivePackets or fFECOnDemandParityEnabled member must be nonzero, otherwise the function call fails.

-see-also

RM_USE_FEC

Reliable Multicast Programming

Socket Options