You need to wait for the write callback that tells you that the buffer is empty before you can close the socket (or free the buffer event).
Niels. On 12/8/06, Alejo S <[EMAIL PROTECTED]> wrote:
Hi. Silly question: what's the proper way to flush pending buffered write events before closing a socket. Cheers. Alejo _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users