Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandle.IP Property

Identifies the IP address for the local computer.

Pascal
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 "wvnvm.wvnet.edu", or an IP address in dotted-decimal format, such as "129.71.2.4". 

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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.