[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] how to flush output immediately?
Pls google SO_LINGER.
On Wed, Mar 24, 2010 at 11:24 PM, Jarod Liu <liuyuanzhi@xxxxxxxxx> wrote:
> I want to implement a server which listen on a port. When new
> connection come, write out something, then close the connection.
> I try use bufferevent_write put data to output buffer then
> bufferevent_free, but I found the connection close without flush
> output first.
> How can I do that with the bufferevent interfaces?
> ***********************************************************************
> To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
> unsubscribe libevent-users in the body.
>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.