diff -r e83ec58cc458 -r 9330b93d9946 sources/network/udpsocket.h --- a/sources/network/udpsocket.h Wed Jan 27 14:16:58 2021 +0200 +++ b/sources/network/udpsocket.h Wed Jan 27 18:55:03 2021 +0200 @@ -39,7 +39,7 @@ struct Datagram { ByteArray message; - IPAddress address; + net::ip_address address; }; // ------------------------------------------------------------------------------------------------- @@ -52,7 +52,7 @@ bool bind (unsigned short port); bool read (Datagram& datagram); - bool send (const IPAddress& address, const ByteArray& data); + bool send (const net::ip_address& address, const ByteArray& data); bool set_blocking (bool a); const std::string& error_string() const { return m_error; } int file_descriptor() const { return m_socket; }