Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.AfterAccept Method

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

Pascal
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.

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.