Show your code and look for "TCP" in the LabVIEW examples finder. LabVIEW comes with quite a few examples about doing TCP communication from trivial but limited to real asynchronous connection handling.
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390