Język

IcmpV4Statistics.SourceQuenchesSent Właściwość

Definicja

Pobiera liczbę wysłanych komunikatów quench protokołu ICMPv4 (Internet Control Message Protocol w wersji 4 (ICMPv4).

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

Wartość właściwości

Wartość określająca Int64 łączną liczbę wysłanych 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