Home Forums Support Trying SendReceiveObject to get a message from a device Reply To: Trying SendReceiveObject to get a message from a device

#788
Anonymous
Inactive

There is no server side. There’s a device on the network at 192.168.4.5 (i.e. an IP address that I know) and a known port (e.g. 5000).

So in my example,

var response = NetworkComms.SendReceiveObject<byte[]>(“Message”, ipAddress, port, “byte[]“, 2000, deviceCmd);

ipAddress would be “192.168.4.5” and port would be 5000.

Based on what I’d looked at, I thought that the underlying “stuff” would make the connection, do the transfer, and return some type of result.