[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] how to flush output immediately?



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.