Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Net.​Sockets.​SocketReceiveMessageFromResult

Assembly: System.Net.Sockets

The result of a <see cref="M:System.Net.Sockets.SocketTaskExtensions.ReceiveMessageFromAsync(System.Net.Sockets.Socket,System.ArraySegment{System.Byte},System.Net.Sockets.SocketFlags,System.Net.EndPoint)" /> operation.

Fields and Constants

PacketInformation
An <see cref="T:System.Net.Sockets.IPPacketInformation" /> holding address and interface information.
public int
ReceivedBytes
The number of bytes received. If the <see cref="M:System.Net.Sockets.SocketTaskExtensions.ReceiveMessageFromAsync(System.Net.Sockets.Socket,System.ArraySegment{System.Byte},System.Net.Sockets.SocketFlags,System.Net.EndPoint)" /> operation is unsuccessful, this value will be 0.
public EndPoint
RemoteEndPoint
The source <see cref="T:System.Net.EndPoint" /> .
public SocketFlags
SocketFlags
A bitwise combination of the <see cref="T:System.Net.Sockets.SocketFlags" /> values for the received packet.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object