Internet Direct (Indy) Version 9.0.2 Beta
|
procedure SetPeer(const asIP: string; anPort: integer);
SetPeer is a convenience method provided for TIdTCPConnection descendants that may need to update the Binding property, like TIdTCPClient and TIdUDPBase.
SetPeer is also used by the listening thread of server applications that spawn new threads for each connection request, like TIdListenerThread and TIdUDPListenerThread.