Home › Forums › Support › Trying SendReceiveObject to get a message from a device › Reply To: Trying SendReceiveObject to get a message from a device
April 25, 2013 at 23:58
#788
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.