Internet Direct (Indy)
Home
PreviousUpNext
TIdSimpleServer Class

Implements a single-threaded TCP Server.

Pascal
TIdSimpleServer = class(TIdTCPConnection);

TIdSimpleServer is a TIdTCPConnection descendant that implements a single-threaded TCP (Transmission Control Protocol) server. 

TIdSimpleServer is essentially a TCP connection that gains the ability to listen for serial connection requests. 

TIdSimpleServer implements an internal socket descriptor used to listen for the connection request, and provides methods to Bind the IP address and port number for the server listener. 

Create and use the IOHandler in TIdSimpleServer to perform protocol or data exchanges using the single-threaded server. 

TIdSimpleServer can be used as a ancestor class to create custom single-threaded TCP server descendants. TIdSimpleServer is also used in the implementation of various protocol clients and servers, like: TIdFTP, TIdFTPServer, TIdSocksServer, TIdMappedFTP, and TIdRemoteCMDClient.

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.