--- a/sources/network/udpsocket.h Wed Jul 20 18:31:19 2016 +0300 +++ b/sources/network/udpsocket.h Fri Jul 22 17:59:55 2016 +0300 @@ -38,7 +38,7 @@ struct Datagram { - Bytestream message; + ByteArray message; IPAddress address; }; @@ -52,7 +52,7 @@ bool bind (unsigned short port); bool read (Datagram& datagram); - bool send (const IPAddress& address, const Bytestream& data); + bool send (const IPAddress& address, const ByteArray& data); bool set_blocking (bool a); const String& error_string() const { return m_error; } int file_descriptor() const { return m_socket; }