Topic Path: Symbol Reference > Classes > TIdSimpleServer Class > TIdSimpleServer Methods > EndListen Method
TIdSimpleServer.EndListen Method

Stops accepting connection requests on the server.

procedure EndListen; virtual;

EndListen is a virtual procedure used to inform the server that it can no longer accept connection requests. 

EndListen resets state flags that indicate Abort has been called, and that the server is actively listening for new connections. 

EndListen is called in BeginListen when the socket handle for the listener is no longer valid.

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