« Home     About     @Contact

Internet Access stored procedures for SQL Server 7.0 - 2000

A solution to communicate to internet by T-SQL Queries

Important note

These procedures have been recently moved to a new xpFileUtils library.

SQL Internet Utilities Overview

This adds to T-SQL access to internet hosts and websites.

There are the following procedures:

  • xp_IsPortOpen checks (scans) if the host has the given port open;

  • xp_GetAddrByHost returns the IP address for the given host name;

  • xp_GetHostByAddr returns the host name for the given IP address;

  • xp_Ping returns statistics of ping operation like ping.exe utility does;

  • xp_CanPing only checks if the destination host can be pinged (e.g. reachable);

  • xp_TraceRoute returns statistics of trace route operation like tracert.exe utility does.

  • xp_Whois on the given internet address, performs requests to international WHOIS databases and returns any available registration data;

Example Example

Check if the host address ('localhost') is available using default parameters (3000 ms timeout, 4 attempts):

declare @result int

exec @result = master..xp_CanPing 'localhost'

if @result = 1
  print 'The destination host is available'
else
if @result = 0
  print 'The destination host is unavailable'
else
  print 'Network failure'
SEE ALSO

Folder Jump Folder Jump.com

Let Your Fingers Rest!
Stop waste your time browsing directories!


Folder Size
FREE shell extension, adds 'Folder Size' column to Windows Explorer


Create your own Extended Stored Procedures!

This is easy if use wrapper classes for Visual C++ or Delphi.


Delphi Components

Internet tools, PGP SDK wrapper component, User activity detection Smart message boxes...


GlyFy.com - stock glyphs and icons for software development GlyFy.com
Quality icons, glyphs, and images for software development




AWARDS

TOP score at BrotherSoft.com

Listed at TopShareware.com

Rated for 4 Star at GlobalShareware.com

TOP score at SoftForAll.com

TOP score at Sofotex.com

Copyright © 1996-2007 MasterCluster.com