remoteIpAddress

Type: String

The read-only remoteIpAddress property of the TcpIpConnection class contains the remote host IP address after a successful open, openAsynch, listen, or listenAsynch method.

The code fragment in the following example shows the use of the remoteIpAddress property.

self.tcp.listenContinuousAsynch(conlog, "updateListenContinuousCalls");
if self.tcp.state = Connection.Connected then
    statusLine1.caption := "Connected";
    textBox2.text       := self.tcp2.remoteIpAddress;
    textBox3.text       := self.tcp2.remotePort.String;
    textBox4.text       := self.tcp2.localIpAddress;
    textBox5.text       := self.tcp2.name;
endif;