Aracılığıyla paylaş


IcmpV6Statistics.NeighborSolicitsReceived Özellik

Tanım

Alınan İnternet Denetim İletisi Protokolü sürüm 6 (ICMPv6) Komşu İsteği iletilerinin sayısını alır.

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

Özellik Değeri

Int64 Alınan toplam Komşu İsteği iletilerinin sayısını belirten bir değer.

Örnekler

Aşağıdaki örnekte bu özelliğin değeri görüntülenir.

void ShowIcmpV6NeighborData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( "  Advertisements ...................... Sent: {0,-10}   Received: {1,-10}", 
      statistics->NeighborAdvertisementsSent, statistics->NeighborAdvertisementsReceived );
   Console::WriteLine( "  Solicits ............................ Sent: {0,-10}   Received: {1,-10}", 
      statistics->NeighborSolicitsSent, statistics->NeighborSolicitsReceived );
}
public static void ShowIcmpV6NeighborData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Advertisements ...................... Sent: {0,-10}   Received: {1,-10}",
        statistics.NeighborAdvertisementsSent,statistics.NeighborAdvertisementsReceived);
    Console.WriteLine ("  Solicits ............................ Sent: {0,-10}   Received: {1,-10}",
    statistics.NeighborSolicitsSent, statistics.NeighborSolicitsReceived);
}
Public Shared Sub ShowIcmpV6NeighborData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine("  Advertisements ...................... Sent: {0,-10}   Received: {1,-10}", statistics.NeighborAdvertisementsSent, statistics.NeighborAdvertisementsReceived)
    Console.WriteLine("  Solicits ............................ Sent: {0,-10}   Received: {1,-10}", statistics.NeighborSolicitsSent, statistics.NeighborSolicitsReceived)

End Sub

Açıklamalar

Komşu Bulma, konak bilgisayarların ve yönlendiricilerin paylaşılan bağlantılarda bulunduğu bilinen komşuların adreslerini belirleyebildiği bir işlemdir. Bu bulma işleminin bir bölümü Komşu İstekleri ve Komşu Tanıtımları adlı ICMP iletileri kullanılarak gerçekleştirilir. Komşu İsteği iletileri, bir komşunun bağlantı katmanı adresini bulmak veya bir komşunun önbelleğe alınmış bağlantı katmanı adresi aracılığıyla hala erişilebilir olduğunu doğrulamak için gönderilir. Bir istek veya adres değişikliğini duyurmak için adres bilgilerini içeren bir Komşu Tanıtımı gönderilir.

Şunlara uygulanır