Internet Direct (Indy)
Home
PreviousUpNext
TIdUDPBase.Active Property

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

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

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.