Język

IcmpV4Statistics.SourceQuenchesReceived Właściwość

Definicja

Pobiera liczbę odebranych komunikatów źródłowych protokołu ICMPv4 (Internet Control Message Protocol w wersji 4).

public:
 abstract property long SourceQuenchesReceived { long get(); };
public abstract long SourceQuenchesReceived { get; }
member this.SourceQuenchesReceived : int64
Public MustOverride ReadOnly Property SourceQuenchesReceived As Long

Wartość właściwości

Wartość określająca Int64 łączną liczbę odebranych komunikatów quench źródła.

Przykłady

W poniższym przykładzie wyświetlana jest wartość tej właściwości.

public static void ShowSourceQuenchData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Source Quenches ..................... Sent: {0,-10}   Received: {1,-10}",
        statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived);
}
Public Shared Sub ShowSourceQuenchData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Source Quenches ..................... Sent: {0,-10}   Received: {1,-10}", statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived)

End Sub

Uwagi

Komunikaty quench źródłowych są wysyłane, gdy pakiet został odrzucony z powodu niewystarczającej ilości miejsca w kolejce wyjściowej. Komputer docelowy może również wysłać komunikat Source Quench, jeśli pakiety docierają zbyt szybko do przetworzenia. Komunikat z sekwencjonowaniem źródłowym to żądanie od hosta w celu zmniejszenia szybkości wysyłania ruchu do miejsca docelowego Internetu.

Dotyczy