Topic Path: Symbol Reference > Classes > TIdListenerThread Class > TIdListenerThread Properties > Server Property
TIdListenerThread.Server Property

Server context for the listener thread.

property Server: TIdCustomTCPServer;

Server is a read-only TIdCustomTCPServer property that provides the server context for the TIdListenerThread. The Server property provides access to properties and methods in the TCP server that owns the listener thread. Server is used during execution of the listener thread to gain access to the IOHandler, Scheduler, MaxConnections, Contexts, ContextClass properties in TIdCustomTCPServer

The value in Server is assigned using the parameter value specified in the Create method.

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