GLBasic User Manual

Main sections

SOCK_GETIP

ip_binary$ = SOCK_GETHOSTIP$(server$)


Tries to get the IP address of the remote computer "server$".
server$ is a computer name - for example "www.glbasic.com" or "PC-GF".
The IP adress returned will be a 32-bit integer.

If nothing was found, 0 is returned.

See also...