Solution
The VI and function found at
C:\Program Files (x86)\National Instruments\<LabVIEW version>\vi.lib\Platform\dataskt.llb directory are legacy API and no longer supported in LabVIEW version 2009 and after.
The only supported Datasocket function are
DataSocket Read Function,
DataSocket Write Function,
DataSocket Select URL,
DataSocket Open Function and
DataSocket Close Function. Any DataSocket other than these function are either legacy API or created by third party developers. Please refer to the supported DataSocket function below.