Topic Path: Symbol Reference > Classes > TIdSocketHandle Class > TIdSocketHandle Properties > PeerPort Property
ContentsIndexHome
PreviousUpNext
TIdSocketHandle.PeerPort Property

Port number for the remote system on the connection.

property PeerPort: TIdPort;

PeerPort is a read-only Integer property that identifies the Port numer 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.