Internet Direct (Indy)
Home
PreviousUpNext
TIdUDPListenerThread.Create@integer@TIdUDPServer

Create is the constructor for the TIdUDPListenerThread object instance.

Parameters 
Description 
ABufferSize 
Size of the buffer for the listener thread.
 
Owner 
Server that owns the listening thread. 

Create is the reintroduced construcor for the object instance. 

Create calls the inherited Create constructor to instantiate a suspended TIdUDPListenerThread

Create initializes the default value for AcceptWait to 1000 (ms) (1 second), and creates the the internal read buffer using the value in ABufferSize. ABufferSize is the number of bytes to allocate in the internal read buffer for datagrams received in the listener thread, and is normally set to the value in TIdUDPServer.BufferSize when the listener thread is created. 

Create also sets the server that owns the listener thread to the value in Owner. 

Use Destroy to free the object instance.

TIdUDPServer 

AcceptWait 

TIdUDPServer.BufferSize 

TIdBytes 

Destroy

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.