| w3Utils Reference |
Reference
Methods |
|
| |
|
| Writes a string to
NetDebug (tm). Please see separate chapter on NetDebug for further informatioon. var pageName = 'Examples Page'; NetUtils.DebugWrite( 'Now executing: ' + pageName ); // writes 'Now executing: Examples page' in the NetDebug window |
|
| |
|
| Retreives an URL and
returns the HTTP output from it. You can optionally provide authorization information and maximum allowed return size. var aPage = NetUtils.HTTPGet( 'http://www.news.com/', 'userName:password' , 1024 * 16 ); // aPage would contain the whole HTTP output including actual page |
|
| |
|
| Returns the number of
miliseconds for a Ping reply of a specified host. Negative value indicates error. var pingValue = NetUtils.Ping( "duplo.org" ); |
|
| |
|
Returns the
"real" name of an IP address or host namevar PTRName = netutils.RLookup( "193.15.14.166" ) |