Articles


Dave’s latest Windows Scripting Solutions article (link) demonstrates how a Perl script can use UPnP to query Internet Gateway Devices (IGD) to see what ports have been mapped.

It is unfortunate that UPnP support is haphazardly implemented on most vendor’s IGDs (such as broadband routers). This means that even the best written UPnP client code can only view the mapped ports that the IGD allows it to view. The promise of IGD falls quite short in this regard since not only are many of the features in the various DCPs optional but how they are implemented are up a vendor’s interpretation. Hopefully newer technologies such as Web Services on Devices (WSD) based on the Devices Profile for Web Services (DPWS) can change that.

To read this article requires a subscription to Windows Scripting Solutions.

Dave Roth’s May 2006 issue of Windows Scripting Solutions (link) article discusses a simple way to detect differences between directories. Sure tools exist that do this already, but this article uses a Perl script to solve the problem. The reason for using a script instead of existing tools is that it is much easier to modify the script than it is to modify C code, recompile and relink. The former requires an editor and Perl, the latter requires an editor, a C compiler, a linker (optionally a debugger) and a lot of knowledge of C. Don’t get me wrong, I love C, but Perl is much faster to write and use. :)
To read this article requires a subscription to Windows Scripting Solutions.