LumiSoft Net Help
GetLocalEndPoint Method (remoteEP)
Namespaces ► LumiSoft.Net.UDP ► UDP_Server ► GetLocalEndPoint(IPEndPoint)
Gets suitable local IP end point for the specified remote endpoint. If there are multiple sending local end points, they will be load-balanched with round-robin.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public IPEndPoint GetLocalEndPoint(
    	IPEndPoint remoteEP
    )

    Public Function GetLocalEndPoint (
    	remoteEP As IPEndPoint
    ) As IPEndPoint

    public:
    IPEndPoint^ GetLocalEndPoint(
    	IPEndPoint^ remoteEP
    )

    member GetLocalEndPoint :
            remoteEP : IPEndPoint -> IPEndPoint

Parameters

remoteEP (IPEndPoint)
  Remote end point.

Return Value
IPEndPoint
Returns local IP end point.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when argument remoteEP is null.
ArgumentException | Is raised when argument remoteEP has invalid value.
InvalidOperationException | Is raised when no suitable IPv4 or IPv6 socket for remoteEP.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119