Network address of the computer on which the program is running (sys.IPAddress)ΒΆ
sys.IPAddress,,i4 |
Network address of host computer |
The network address of the computer on which the program is running, in i4 numeric format.
The dotted address may be obtained as follows:
!temp NetAddress,,a15
tmp.NetAddress = tostr(getbyte(sys.IPAddress, 1)) + "." \
+ tostr(getbyte(sys.IPAddress, 2)) + "." \
+ tostr(getbyte(sys.IPAddress, 3)) + "." \
+ tostr(getbyte(sys.IPAddress, 4))
NOTES
The network name is stored in sys.HostName.
In sagew and srepw, obsolescent versions of the run time interpreters sagewc and srepwc, this variable has a null value.
RELATED TOPICS |