URL2IP

(Difference between revisions)
Jump to: navigation, search
(Created page with "= <span class="f_Header">Action</span> = This function returns the IP address of an URL. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;">&...")
 
Line 42: Line 42:
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
 
= <span style="font-family: Arial;">&nbsp;</span> =
 
  
 
= <span class="f_Header">Example</span> =
 
= <span class="f_Header">Example</span> =

Revision as of 20:36, 17 January 2017

Contents

Action

This function returns the IP address of an URL.

 

 

Syntax

ip=URL2IP(URL)

 

 

Remarks

This function performs a DNS query to the google DNS server with address 8.8.8.8.

It returns either a 0 IP address or the IP address of the URL.

 

The URL must be a string or string constant.

At the moment, this function is only supported by the W5100 and W5200.

 

 

 

See also

CONFIG TCPIP, GETSOCKET , SOCKETCONNECT, SOCKETSTAT , TCPWRITE, TCPWRITESTR, CLOSESOCKET , SOCKETLISTEN , BASE64ENC

 

 

 

Example

Personal tools
Namespaces
Variants
Actions
Navigation
Language