SmartThings does not officially support TCP communications, and consequently while you can format TCP commands to send out, the hub will not process the incoming responses. So it may work with some devices, but not all.
(You probably already know this, but if you just search the forums for “TCP” you will see a lot of references that mean the specific brand “TCP lighting” not the TCP communication protocol. Somewhat ironically , the official integration with TCP lighting is cloud to cloud, not LAN. So when you see comments like “TCP works” in the devices section of the forums, it’s usually a reference to that particular lighting brand. To discuss the communication protocol, try the developers section instead.)