Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandle.UpdateBindingPeer Method

Updates the IP address and Port number for the remote network connection on the socket handle.

Pascal
procedure UpdateBindingPeer;

UpdateBindingPeer is a procedure used to retrieve the IP address and Port number used for the remote network connection on Handle

UpdateBindingPeer uses GStack to access the GetPeerName API for the protocol stack using Handle, PeerIP, and PeerPort as arguments. 

UpdateBindingPeer is used in Connect, Accept, and Bind

Use UpdateBindingLocal to get the endpoint for the local network connection on the socket handle.

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.