Topic Path: Symbol Reference > Classes > TIdUDPBase Class > TIdUDPBase Properties > Active Property
ContentsIndexHome
PreviousUpNext
TIdUDPBase.Active Property

Indicates that the socket binding has been allocated for the UDP client.

property Active: Boolean;

Active is a Boolean property used to indicate if the socket binding has been allocated for the UDP client. 

Setting Active to True causes the socket handle in Binding to be allocated. Set other property values, like BufferSize and IPVersion, prior to setting Active to True. 

Setting Active to False will free the socket handle in Binding

Setting Active to True in the IDE (at design-time) has no effect other than storing the property value to be used at runtime. The UDP component cannot allocate its socket handle at design-time.

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