Hi Niels,
I guess I do not quite understand what you are trying to accomplish.
In most cases, you will get a different fd for each connection.
Perhaps, you could explain the reason for hashing on something? Why
don't you hash on the remote IP?
We can have the case that multiple clients use the same IP address.
Hashing this IP will produce the same digest.
Following your suggestion, is there any recommended way (i.e. via a
getter method) to access the "fd" descriptor?
By the way. Is there a clean method to exit the libevent infinite loop
and shutdown
my server cleanly?
Thanks in advance
cheers
Y
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users