Lasso Soft Inc. > Home

[Server_ExternalIP]

LinkServer_ExternalIP
AuthorJohn Burwell
CategoryNetworking
Version8.x
LicensePublic Domain
Posted14 Apr 2006
Updated14 Apr 2006
More by this author...

Description

For servers behind firewalls, NAT routers, or other Internet obstructions, this tag reports the IP address at which the outside world can find your server.

Sample Usage

[Server_ExternalIP]

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

Define_Tag: 'Server_ExternalIP',
  -Description='Returns the external IP address of the server, reported by DynDNS.org, as a string.';

  Return: (String_FindRegExp: (Include_URL: 'http://checkip.dyndns.org/'),
    -Find='\\d+\\.\\d+\\.\\d+\\.\\d+')->(First);

/Define_Tag;

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft