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

IP address for the remote system on the connection.

property PeerIP: string;

PeerIP is a read-only string property that identifies the IP address for the remote system on the connection. 

PeerIP and PeerPort are updated for the socket handle when UpdateBindingPeer is called from either Connect or Accept

Use Connect to open a connection. 

Use Accept to create a new connection for a listener socket.

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