Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > AfterAccept Method
TIdIOHandler.AfterAccept Method

Specifies the method used to initialize an IOHandler after a new connection request.

procedure AfterAccept; virtual;

AfterAccept is a virtual procedure in TIdIOHandler that specifies the mechanism used to initialize an IOHandler after a listener thread for a server has detected a client connection request. 

AfterAccept must be implemented in a descendant class, like TIdServerIOHandlerSocket, to allow any operation needed prior to calling Accept for the socket binding in the newly detected client connection.

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