SocketAsyncEventArgs.RemoteEndPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the remote IP endpoint for an asynchronous operation.
public:
property System::Net::EndPoint ^ RemoteEndPoint { System::Net::EndPoint ^ get(); void set(System::Net::EndPoint ^ value); };
public System.Net.EndPoint RemoteEndPoint { get; set; }
public System.Net.EndPoint? RemoteEndPoint { get; set; }
member this.RemoteEndPoint : System.Net.EndPoint with get, set
Public Property RemoteEndPoint As EndPoint
Property Value
An EndPoint that represents the remote IP endpoint for an asynchronous operation.
Remarks
This property specifies the remote endpoint. This property can specify the remote endpoint to which to connect using the Socket.ConnectAsync method. This property can specify the remote endpoint to which to send data using Socket.SendToAsync method. This property can specify the remote endpoint from which data was received using the Socket.ReceiveFromAsync or Socket.ReceiveMessageFromAsync methods.
This remote endpoint specified by this property can include an IPv4 or IPv6 address.
This property is used with the Socket.ConnectAsync, Socket.ReceiveFromAsync, Socket.ReceiveMessageFromAsync, or Socket.SendToAsync methods.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om