This method returns the IP Address of the connected host.
ret = ItemHostIP (n)
|
ret |
String, output |
|
|
The host IP address. |
|
|
|
|
n |
Ranges in value from 1 to the maximum number of PASSPORT sessions that are connected. |
This is a PASSPORT command.
Example
Sub ZMain()
Dim strText, nRet
Dim strHostIP
strHostIP = ItemHostIP (1)
strText = "Host IP Address = " &strHostIP
nRet = MsgBox (strText, 0, "Host IP Address")
End Sub