Topic Path: Symbol Reference > Classes > TIdSocketHandle Class > TIdSocketHandle Properties > IP Property
TIdSocketHandle.IP Property

Identifies the IP address for the local computer.

property IP: string;

IP is a String property that identifies the address of the computer for the local connection. IP can be a computer name, such as "", or an IP address in dotted-decimal format, such as "". 

IP is used in conjunction with Port to determine the local association used to identify the connection endpoint. Set the values in IP and Port prior to calling Connect

IP and Port are updated after establishing a connection for a listener socket in Accept.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.