Anton S. wrote: > In OverbyteIcsWSocketS unit, > TCustomWSocketServer.TriggerSessionAvailable method, Client.FCliId is > determined as incremental counter. But as this counter is resetted > after $7FFFFF, it is possible that some client IDs are duplicated. Of > course it would be a very rare case but it could lead to serious > troubles if an application uses CliId fields for some identification.
It is only guaranteed that _connected clients never share the same CliId. This field exists mainly because client objects cannot be identified reliably by their memory address in multi-threaded apps. -- 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