Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandle.PeerPort Property

Port number for the remote system on the connection.

Pascal
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.

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.