protected CacheLocalAddress ( ) : |
||
return |
protected EndPoint CacheLocalAddress()
{
try
{
return _localAddress = this.LocalAddressInternal;
}
catch (Exception)
{
// Sometimes fails on a closed socket in Windows.
return null;
}
}