Internet Direct (Indy)
Home
PreviousUpNext
TIdSimpleServer.Abort Method

Requests that the server stop listening for new connections.

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

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.