localIpAddress

Type: String

The read-only localIpAddress property of the TcpIpConnection class contains the local IP address after the successful establishment of a TCP/IP connection.

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

if self.tcp.state = Connection.Connected then
    statusLine1.caption := "Connected";
    textBox3.text       := self.tcp.localIpAddress;
    textBox2.text       := self.tcp.remoteIpAddress;
    textBox4.text       := self.tcp.name;
endif;