src/Network/Address.hh
changeset 400 d64bf28c4340
parent 399 c7295b72731a
child 423 947ab54de4b7
equal deleted inserted replaced
399:c7295b72731a 400:d64bf28c4340
    17  * getnameinfo() when the address is updated).
    17  * getnameinfo() when the address is updated).
    18  *
    18  *
    19  * This means that a NetworkAddress can be used like a NetworkEndpoint (like a literal IP address), but can also be
    19  * This means that a NetworkAddress can be used like a NetworkEndpoint (like a literal IP address), but can also be
    20  * used in a more specifc fashion like NetworkSocket::send or NetworkSocket::accept, where a definitive address is
    20  * used in a more specifc fashion like NetworkSocket::send or NetworkSocket::accept, where a definitive address is
    21  * required.
    21  * required.
       
    22  *
       
    23  * The update() method does a blocking reverse-DNS lookup. XXX: only do the reverse lookup if get_hostname is called?
    22  *
    24  *
    23  * XXX: currently, there is no way to form a NetworkAddress from a NetworkEndpoint for e.g. sending UDP packets without
    25  * XXX: currently, there is no way to form a NetworkAddress from a NetworkEndpoint for e.g. sending UDP packets without
    24  * an associated TCP connection.
    26  * an associated TCP connection.
    25  */
    27  */
    26 class NetworkAddress : public NetworkEndpoint {
    28 class NetworkAddress : public NetworkEndpoint {