an error occurs when trying the detect function using system.net.sockets as show in below.
Possible reason(s):
LabVIEW: A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.
System.ArgumentNullException in Untitled.vi
OS: Win7 Enterprise X64, the same code works on Win XP OS with no such error.