--- a/sources/network/udpsocket.h Wed Jul 20 22:56:16 2016 +0300 +++ b/sources/network/udpsocket.h Fri Jul 22 17:50:00 2016 +0300 @@ -38,7 +38,7 @@ struct Datagram { - Bytestream message; + Vector<unsigned char> 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 Vector<unsigned char>& data); bool set_blocking (bool a); const String& error_string() const { return m_error; } int file_descriptor() const { return m_socket; }