Page 1 of 1

TCPSendToIP

PostPosted: Fri Jan 12, 2018 9:32 am
by isaac_tdc
Hi,

Would anyone be able to clarify how the command 'TCPSendToIP' is used?

My assumption was that is was to communicate with a device that hadn't been specified in the TCP Connections panel, however it takes a TCP Connection ID as its first parameter.

What should this TCP Connection be set as? Setting it up as a Single Client pointing to the device I'm trying to communicate with doesn't seem to be right, despite being correct when just using 'TCPSend'.

Any advice would be greatly appreciated.

Thanks,
Isaac

Re: TCPSendToIP

PostPosted: Fri Jan 12, 2018 11:37 pm
by Dennis Kuypers
Hello,

from the top of my head i suspect that this is for TCP-Server (multiclient) connections. This way you can send messages to specific clients.

Regards
Dennis

Re: TCPSendToIP

PostPosted: Sat Jan 13, 2018 3:08 am
by isaac_tdc
Thanks very much Dennis, I'll give it a try.