Hi HCMUI,
A good place to start would be a couple of examples found in the LabVIEW example finder. The names of the VIs are TCP Communicator - Active.vi and TCP Communicator - Passive.vi. The example finder can be found in LabVIEW using the following path: Help >> Find Examples
Kareem W.
National Instruments
Web Product Manager