4D Internet Commands v14NET_NameToAddr | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                    
                        
    
    
                         | 
                
                    
                         
    4D Internet Commands v14
 
NET_NameToAddr 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NET_NameToAddr ( hostName ; ip_Longint ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| hostName | String | 
             
         | 
        Host name or IP address | |||||
| ip_Longint | Longint | 
             
         | 
        Long Integer reference to the address | |||||
| Function result | Integer | 
             
         | 
        Error Code | |||||
The NET_NameToAddr command takes a host name or IP address and returns a unique long integer reference to the address.
hostName is the host name or IP address.
ip_Longint is a Longint value representing the IP address specified in the hostName parameter. All IP address strings can be converted to a signed Longint value.
While the ip_Longint value does not typically have a significant use, some developers may find this command useful to convert IP addresses into a more compact Longint format for data-storage.
	Product:  4D Internet Commands
	Theme:  IC Internet
	Number:  
        88923
        
        
        
	
	Created:  4D Internet Commands 6.5
	4D Internet Commands ( 4D Internet Commands v11.4)
	4D Internet Commands ( 4D v13.2)
	4D Internet Commands ( 4D Internet Commands v12.1)
	4D Internet Commands ( 4D Internet Commands v14 R2)
	4D Internet Commands ( 4D Internet Commands v14)
	4D Internet Commands ( 4D Internet Commands v14 R3)
	4D Internet Commands ( 4D Internet Commands v14 R4)