Method GetLocalEndpoint
GetLocalEndpoint()
Get the local endpoint used by the driver (the endpoint remote peers will use to reach this driver).
Declaration
public NetworkEndpoint GetLocalEndpoint()
Returns
Type | Description |
---|---|
NetworkEndpoint | The local endpoint of the driver. |
Remarks
The returned value should not be assumed to be constant for a given connection, as it is possible for remote peers to change address during the course of a session (e.g. if a mobile client changes IP address because they're hopping between cell towers).