Topic Path: Symbol Reference > Classes > TIdSocketHandle Class > TIdSocketHandle Methods > UpdateBindingPeer Method
ContentsIndexHome
PreviousUpNext
TIdSocketHandle.UpdateBindingPeer Method

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

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.

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