>It is only guaranteed that _connected clients never share the same CliId.
I couldn't see _where_ it is guaranteed... It's quite possible to have 1st
client with ID 1 connected for a long, long time while others connect and
disconnect very frequently (i.e. large proxy and a client downloading huge
file thru it). They could fill the counter and it would reset to ID 1
which already exists.
Let's do some computation: the ID wrap around after 2.147.483.647
connections. If you have 100 connections/disconnections per second, then it
will take 248 days to wrap around.
So you are right: if a client connect and stay connected for 248 days, and
during that very long time you continuesly have 100
connections/disconnections per second, then yes there will be a problem. In
my opinion, this will never occur.
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
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