On Mon, Mar 10, 2008 at 6:24 AM, Lyes Amazouz <[EMAIL PROTECTED]> wrote: > I want to know if there is a mean to access the socket descriptor associated > with the evhttp_connection object (the field fd i guess), because I want to > use it as a key for a hash function. > instead of this, can the server specify, for each client, an independent > user environment either the argument given when we set the callback > functions of the server object?
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? Niels. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users