IPPacketInformation.Address Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the origin information of the packet that was received as a result of calling the ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) method or EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) method.
public:
property System::Net::IPAddress ^ Address { System::Net::IPAddress ^ get(); };
public System.Net.IPAddress Address { get; }
member this.Address : System.Net.IPAddress
Public ReadOnly Property Address As IPAddress
Property Value
An IPAddress that indicates the origin information of the packet that was received as a result of calling the ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) method or EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) method. For packets that were sent from a unicast address, the Address property will return the IPAddress of the sender; for multicast or broadcast packets, the Address property will return the multicast or broadcast IPAddress.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για