ItemHostIP

Description

This method returns the IP Address of the connected host.

Syntax

ret = ItemHostIP (n)

Parameters
ret String, output
  The host IP address.
   
n Ranges in value from 1 to the maximum number of PASSPORT sessions that are connected.

 

Remarks

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