SocketReceiveMessageFromResult 结构

定义

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

字段

PacketInformation

保存地址和接口信息的 IPPacketInformationAn IPPacketInformation holding address and interface information.

ReceivedBytes

收到的字节数。The number of bytes received. 如果 ReceiveMessageFromAsync(Socket, ArraySegment<Byte>, SocketFlags, EndPoint) 操作不成功,此值将为 0。If the ReceiveMessageFromAsync(Socket, ArraySegment<Byte>, SocketFlags, EndPoint) operation is unsuccessful, this value will be 0.

RemoteEndPoint

EndPointThe source EndPoint.

SocketFlags

所接收数据包的 SocketFlags 值的按位组合。A bitwise combination of the SocketFlags values for the received packet.

适用于