"RokuJoel" wrote:
I asked the engineer who developed some of the Sockets functions for Brightscript, he said:
The send() operation can take arbitrary byte data in the byte array. The script is responsible for serialization of higher level types and data structures (including accounting for size, alignment, and endian-ness) into a byte array in a manner that can be understood by the recipient. The script would have to decompose the struct values into bytes using numeric operations and then place them into the byte array using SetEntry(). The endian-ness can be tested with IsLittleEndianCPU().
- Joel
Joel,
Thank you!!!!!! Now I have one idea how to do it.
I can't find any example of SetEntry.
Could you please ask him if he can send you an example?
Regards,
FearL0rd