|
|
| 153 |
if (!InetSocketAddress::IsMatchingType (address)) |
153 |
if (!InetSocketAddress::IsMatchingType (address)) |
| 154 |
{ |
154 |
{ |
| 155 |
NS_LOG_ERROR ("Not IsMatchingType"); |
155 |
NS_LOG_ERROR ("Not IsMatchingType"); |
| 156 |
return ERROR_INVAL; |
156 |
m_errno = ERROR_INVAL; |
|
|
157 |
return -1; |
| 157 |
} |
158 |
} |
| 158 |
InetSocketAddress transport = InetSocketAddress::ConvertFrom (address); |
159 |
InetSocketAddress transport = InetSocketAddress::ConvertFrom (address); |
| 159 |
Ipv4Address ipv4 = transport.GetIpv4 (); |
160 |
Ipv4Address ipv4 = transport.GetIpv4 (); |