ValidateReceivedPackets Property

Description

Returns or sets a Boolean value that indicates whether the user wants to validate incoming packets for connectionless transfers (for example, UDP or UDP with forward error-correction) to ensure that they are for the current transfer. Packets that do not pass the validation test are considered bogus packets. The number of bogus packets received can be read through the NumBogusPacketsReceived property. For connection-oriented transfers (for example, TCP), this property is ignored and packets are never validated.

Syntax
object.ValidateReceivedPackets

Remarks

This property should be set to False only if the caller wants the highest level of performance and is willing to risk robustness of the transfer, or the caller has a known private multicast address and port combination that no one else could use. It is highly recommended that this property not be set to False.

This property is set to True by default.

This property is always available.

See Also

Return to File Transfer Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.