SocketAsyncEventArgs.ReceiveMessageFromPacketInfo SocketAsyncEventArgs.ReceiveMessageFromPacketInfo SocketAsyncEventArgs.ReceiveMessageFromPacketInfo SocketAsyncEventArgs.ReceiveMessageFromPacketInfo Property

定義

受信パケットの IP アドレスとインターフェイスを取得します。Gets the IP address and interface of a received packet.

public:
 property System::Net::Sockets::IPPacketInformation ReceiveMessageFromPacketInfo { System::Net::Sockets::IPPacketInformation get(); };
public System.Net.Sockets.IPPacketInformation ReceiveMessageFromPacketInfo { get; }
member this.ReceiveMessageFromPacketInfo : System.Net.Sockets.IPPacketInformation
Public ReadOnly Property ReceiveMessageFromPacketInfo As IPPacketInformation

プロパティ値

受信パケットの宛先 IP アドレスとインターフェイスを格納する IPPacketInformation インスタンス。An IPPacketInformation instance that contains the destination IP address and interface of a received packet.

注釈

このプロパティを使用して受信したパケットに関する情報を提供する、Socket.ReceiveMessageFromAsyncメソッド。This property provides information about a packet received using the Socket.ReceiveMessageFromAsync method.

このプロパティの併用、Socket.ReceiveMessageFromAsyncメソッド。This property is used with the Socket.ReceiveMessageFromAsync method.

適用対象

こちらもご覧ください