Topic Path: Symbol Reference > Classes > TIdSimpleServer Class > TIdSimpleServer Methods > Abort Method
ContentsIndexHome
PreviousUpNext
TIdSimpleServer.Abort Method

Requests that the server stop listening for new connections.

procedure Abort; virtual;

Abort is a procedure used to request that TIdSimpleServer stop listening for new connection requests. 

Abort sets the internal flag used to indicate that an Abort has been requested. The abort requested flag is used in Listen, and causes the single-threaded server to stop lisatening for a connection request. 

When the current client connection has stopped execution, Listen will disconnect the socket handle for the listener prior to accepting any new connections.

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