diff -r 42bb29924218 -r de7574d292ad sources/network/udpsocket.h --- a/sources/network/udpsocket.h Fri Jul 22 17:50:00 2016 +0300 +++ b/sources/network/udpsocket.h Fri Jul 22 17:52:23 2016 +0300 @@ -38,7 +38,7 @@ struct Datagram { - Vector message; + ByteArray message; IPAddress address; }; @@ -52,7 +52,7 @@ bool bind (unsigned short port); bool read (Datagram& datagram); - bool send (const IPAddress& address, const Vector& 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; }