Francois PIETTE wrote:
>> There is, for instance, property SslEnable in TWSocketServer
>> descendant TSslWSocketServer that is propagated to clients.
>> Let's say you want two listeners /192.168.1.1:80/192.168.1.1:443
>> one SSL and one plain text. Then you have to set SslEnable
>> property at run time.
> 
> Maybe not. Look at TStatusBar, you can add panels and set properties
> for each of them individually. This is the kind of thing we need.

Sure it is possible with TCollection and TCollectionItem.
Now we come closer and closer to my first multi-listen server
I wrote 2 years ago <g>. with TCollection however a new string
property "MultiListenAddrPort" was superfluous as well since all 
properties can the be set with OI or at run time.  

> 
>> I also wonder when the instances specified by property
>> "MultiListenAddrPort" will be created?
> 
> To be able to have the behaviour I described above, the instances
> must be created/destroyed on the fly when MultiListenAddrPort is
> assigned a value. We should do just a the panels in TStatusBar: have
> a design time user interface (property editor for
> MultiListenAddrPort) allowing the user to create each instance and
> assign individual addr and port values.

As I said before creating/destroying objects on the fly depending on
what the user types in a string property sounds bad in my ears.    
I think you should give that a trial yourself, I cannot see what you
want to achieve exactly. Would your design have a single client list
or is it required to iterate over multiple different client lists?

-- 
Arno Garrels 
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to