RemoteHostIP

This property returns or sets the remote host IP address.

Syntax:   sValue = oSocket.RemoteHostIP

Alternate: oSocket.RemoteHostIP = Value

sValue        (String) the IP address of the host system the client will be connecting to.

Group :Socket Object

Example:

Dim WithEvents oSocket As Socket ' module level Dim

Dim sIP As String

Set oSocket = New Socket

sIP = oSocket.RemoteHostIP