SocketReceiveMessageFromResult 结构

定义

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

字段

PacketInformation

保存地址和接口信息的 IPPacketInformation

ReceivedBytes

收到的字节数。 如果 ReceiveMessageFromAsync(Socket, ArraySegment<Byte>, SocketFlags, EndPoint) 操作不成功,此值将为 0。

RemoteEndPoint

EndPoint

SocketFlags

所接收数据包的 SocketFlags 值的按位组合。

适用于