This function returns the IP address of the client system, followed by a carriage return. You can use the IP address to differentiate between individual PCs connected via telnet.
Parameter |
Value or Description |
Lead in |
CHR$(27) CHR$(15) |
Example
MAP1 IP'ADDRESS,S,80
PRINT CHR$(27);CHR$(15);
INPUT "";IP'ADDRESS
Note that if the user is connected via a serial connection, this function sends only a carriage return.
Keep in mind that on many IP networks:
• | IP addresses are VERY variable. Dialup network servers and DHCP configured PCs often change their IP addresses. |
• | Multiple connections may come from the same IP address if multiple copies of ZTERM for Windows are launched. |
• | Multiple connections from the same IP address may occur if ZTERM is connected through a Proxy server. |
Therefore, unless you have a static private network, don't use the IP address as a definitive indication of a unique computer.