whoisIP

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.5 - CODING/DEVELOP
Introduced first in SolidGeometry 4.5, Creation date: 2019-03-01, Last change: 2025-07-20

opens a www browser calling a www page for whi is ip address



See Also: whoisPID , whoisTCP , lastlogins , userIP

Example Illustration

 missing image of whoisIP (ipstr)

Syntax

whoisIP([ipstr])

Input Parameter

ipstr: ip address

Examples


whoisIP('192.187.200.116')
[i,e]=userip; whoisIP(e)




Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

The function whoisIP is designed to open a web browser and navigate to a specific URL that provides information about a given IP address. This function is part of the SolidGeometry library and is categorized under auxiliary procedures.

Input Parameters

Function Workflow

  1. The function whoisIP is called with a variable number of arguments (varargin).
  2. The function getfuncparams is used to retrieve the first argument from varargin. If no argument is provided, it defaults to the IP address '212.227.15.188'.
  3. The IP address is formatted into a URL string using sprintf. The URL is constructed to point to the IP2Location demo page, which provides information about the IP address.
  4. The web function is called with the constructed URL, which opens the default web browser and navigates to the IP2Location page for the specified IP address.

Example Usage

To use the function, you can call it with a specific IP address:

whoisIP('192.187.200.116')

Alternatively, you can retrieve the IP address using another function and pass it to whoisIP:

[i,e]=userip; whoisIP(e)
Algorithm explaination created using ChatGPT on 2025-08-18 22:21. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-08-09