Hi,
The library function you are attempting to use is multithreaded protected. You may have to use raw sockets or some of the other libraries available in CVI, or even using the winsock2 libraries from Windows. You will have better success on the CVI forums because our engineers and customer experts will be watching those threads.
Good Luck!
Tyler T.