IPPacketInformation 结构

定义

public value class IPPacketInformation
public struct IPPacketInformation
type IPPacketInformation = struct
Public Structure IPPacketInformation
继承
IPPacketInformation

属性

Address

获取调用 ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) 方法或 EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) 方法后收到的数据包的来源信息。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.

Interface

获取与调用 ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation)EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) 关联的网络接口信息。Gets the network interface information that is associated with a call to ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) or EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation).

方法

Equals(Object)

返回一个值,该值指示此实例是否与指定的对象相等。Returns a value that indicates whether this instance is equal to a specified object.

GetHashCode()

返回此实例的哈希代码。Returns the hash code for this instance.

运算符

Equality(IPPacketInformation, IPPacketInformation)

测试两个指定的 IPPacketInformation 实例是否相等。Tests whether two specified IPPacketInformation instances are equivalent.

Inequality(IPPacketInformation, IPPacketInformation)

测试两个指定的 IPPacketInformation 实例是否不相等。Tests whether two specified IPPacketInformation instances are not equal.

适用于