SocketAsyncEventArgs.ReceiveMessageFromPacketInfo Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the IP address and interface of a received packet.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public IPPacketInformation ReceiveMessageFromPacketInfo { get; }

Property Value

Type: System.Net.Sockets.IPPacketInformation

An IPPacketInformation instance that contains the destination IP address and interface of a received packet.

This property provides information about a packet received using the Socket.ReceiveMessageFromAsync method.

This property is used with the Socket.ReceiveMessageFromAsync method.

.NET Framework
Available since 2.0
Return to top
Show: