What I need : a libevent client which tries to reconnect periodically after loosing connection with the server.
To solve this problem I add evtimer that becomes active once the connection with the server is lost. The evtimer callback calls bufferevent_socket_connect(), but this function returns a negative value. Why ? How can I solve such a problem ?
Regards,
Steve.
***********************************************************************
To unsubscribe, send an e-mail to
majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.