Datasocket uses TCP/IP, but is (especially on recent LabVIEW versions) much more easy and intuitive to use. You don't have to worry about connection opening/closing, ports, and all the other details of a raw TCP/IP communications. NI has already done all the hard work.
Have a look at some of the examples included with LabVIEW.