I snagged the library to try and quickly mock up a proof of concept program where I need to query a network-connected device (and not a very smart device). I need to send it a byte sequence to query various parameters, and I get back a byte sequence that contains the info I want in it.
I’m completely bombing out.
I tried something like this:
byte [] deviceCmd = {.. set up the outgoing command sequence here … };
var response = NetworkComms.SendReceiveObject<byte[]>(“Message”, ipAddress, port, “byte[]”, 2000, deviceCmd);
Admittedly, a lot of this is “by guess and by golly” based on the tutorial samples. Is there an easy way to do what I want, or is this library too high a level for some basic socket interfacing to a device?
Thanks.