IPAddress

IPAddress["address"]

is a symbolic representation of an IPv4 or IPv6 IP address.

Details

  • In IPAddress["address"], address must be a valid IPv4 (xxx.xxx.xxx.xxx) or IPv6 address.

Examples

open allclose all

Basic Examples  (2)

Ping an IP address:

In[2]:=
Click for copyable input
Out[2]=

Look up the IP addresses associated with a host name:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Properties & Relations  (1)

See Also

HostLookup  SocketConnect  URL  PingTime

Introduced in 2015
(10.3)