Is this useful for anything?

Blitz3D Forums/Blitz3D Beginners Area/Is this useful for anything?

Hansie(Posted 2004) [#1]
; First call CountHostIPs (blank infers the local machine) 
n = CountHostIPs("") 
; n now contains the total number of known host machines. 

; Obtain the internal id for the IP address 
ip = HostIP(1) 

; Convert it to human readable IP address 
ipaddress$ = DottedIP$(ip) 

Print "Dotted IP Test" 
Print "==============" 
Print "" 
Print "Internal Host IP ID:" + ip 
Print "Dotted IP Address:" + ipaddress$ 
Print "" 
Print "Press any key to continue" 

WaitKey() 

End  



Hansie(Posted 2004) [#2]
I guess not ... apart from getting your own IP ...


Clyde(Posted 2004) [#3]
Im pretty sure some folks will find this usefull.
Thanks for sharing it with all of us!

Cheers - Clyde :)