SocketReceiveMessageFromResult SocketReceiveMessageFromResult SocketReceiveMessageFromResult SocketReceiveMessageFromResult Struct

定義

public value class SocketReceiveMessageFromResult
public struct SocketReceiveMessageFromResult
type SocketReceiveMessageFromResult = struct
Public Structure SocketReceiveMessageFromResult
繼承
SocketReceiveMessageFromResultSocketReceiveMessageFromResultSocketReceiveMessageFromResultSocketReceiveMessageFromResult

欄位

PacketInformation PacketInformation PacketInformation PacketInformation

保留位址及介面資訊的 IPPacketInformationAn IPPacketInformation holding address and interface information.

ReceivedBytes ReceivedBytes ReceivedBytes 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 RemoteEndPoint RemoteEndPoint RemoteEndPoint

來源 EndPointThe source EndPoint.

SocketFlags SocketFlags SocketFlags SocketFlags

接收封包之 SocketFlags 值的位元組合。A bitwise combination of the SocketFlags values for the received packet.

適用於