Search the Community
Showing results for tags 'blob'.
Klimczak.Jan posted a topic in NetworkingHi, Please confirm if I can initialize Stream/Blob object in thats way: char RecvBuf; recvfrom(RecvSocket, RecvBuf, 1024, 0, (SOCKADDR *)& SenderAddr, &SenderAddrSize); Unigine::BlobPtr temp_blob = Unigine::Blob::create(); temp_blob->resize(1024); temp_blob->puts(RecvBuf); Do I can pass native data from recvfrom winsock function in that's way ? ps. At the moment I can't get this data as socket->readStream(temp_blob->getStream(), 1024); because I can't get client port (UDP which sends data by sendto method) from Unigine socket. So I looking for wo
helmut.bressler posted a topic in Bug ReportsHello, I just discovered that the update script terrain.usc is still using the old Buffer class, which has been renamed to Blob in unigine 2.0 beta2. Replacing 'Buffer' by 'Blob' fixes the issue. cheers Helmut