diff -r 7643c21d546b -r 6be21be4bea1 sources/network/udpsocket.cpp --- a/sources/network/udpsocket.cpp Wed Jul 20 17:53:13 2016 +0300 +++ b/sources/network/udpsocket.cpp Wed Jul 20 18:20:20 2016 +0300 @@ -133,9 +133,9 @@ int decodedLength = sizeof decodedPacket; HUFFMAN_Decode (reinterpret_cast (HuffmanBuffer), decodedPacket, length, &decodedLength); - datagram.from.host = ntohl (claddr.sin_addr.s_addr); - datagram.from.port = ntohs (claddr.sin_port); - datagram.data = Bytestream (decodedPacket, decodedLength); + datagram.address.host = ntohl (claddr.sin_addr.s_addr); + datagram.address.port = ntohs (claddr.sin_port); + datagram.message = Bytestream (decodedPacket, decodedLength); return true; }