Hello,
I need to send a "struct" to an embeded CPU over the Ethernet.
The struct is defined like this:
[Serializable]
public struct MyStruct
{
public double dVar1;
public bool bVar2;
public int nVar3;
}
What would we the best way to pack it into an "array" and send it? Would
that be through Marshal.Copy!? or any other more effiecient way?
Thanks
EitanB