Difference between revisions of "TCPSocket.RemoteAddress"

From Xojo Documentation

m
 
Line 20: Line 20:
  
 
<rbcode>
 
<rbcode>
TextField1.Text = Me.RemoteAddress
+
TextField1.Value = Me.RemoteAddress
 
</rbcode>
 
</rbcode>

Latest revision as of 12:57, 18 July 2019

Read-Only Property (As String )
StringValue = aTCPSocket.RemoteAddress

Supported for all project types and targets.

The address of the remote machine you are connected to.

Notes

Use this instead of the Address property to determine the address of the machine you are actually connected to.

Example

This example reports the address of the remote machine that the user is connected to. It is in the Connected event.

TextField1.Value = Me.RemoteAddress