Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Methods > DisconnectNotifyPeer Method
TIdTCPConnection.DisconnectNotifyPeer Method

Disconnects the peer connection.

procedure DisconnectNotifyPeer; virtual;

DisconnectNotifyPeer is a virtual procedure used to notify the peer connection when a protocol-based client is about to Disconnect

DisconnectNotifyPeer is provided for compatiblity purposes, and has an empty implementation in TIdTCPConnection. Descendant classes that implement a specific protocol may override the method to perform the operations required when the peer connection is disconnected.

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