equal
deleted
inserted
replaced
49 InetSocketAddress::IsMatchingType (const Address &address) |
49 InetSocketAddress::IsMatchingType (const Address &address) |
50 { |
50 { |
51 return address.CheckCompatible (GetType (), 6); |
51 return address.CheckCompatible (GetType (), 6); |
52 } |
52 } |
53 |
53 |
|
54 InetSocketAddress::operator Address () const |
|
55 { |
|
56 return ConvertTo (); |
|
57 } |
|
58 |
54 Address |
59 Address |
55 InetSocketAddress::ConvertTo (void) const |
60 InetSocketAddress::ConvertTo (void) const |
56 { |
61 { |
57 uint8_t buf[6]; |
62 uint8_t buf[6]; |
58 m_ipv4.Serialize (buf); |
63 m_ipv4.Serialize (buf); |