[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Query regarding bufferevent_read_buffer
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] Query regarding bufferevent_read_buffer
- From: deepak jain <deepakjain111@xxxxxxxxx>
- Date: Mon, 30 May 2011 14:33:04 +0530
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Mon, 30 May 2011 05:03:10 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=wsuqV8jecNrMV0dnmk2BxsP78o7NDGdyAhfxpB3Ij6E=; b=J8TxFVj7fm35//oSPKX9RL/L/Tz0czJtHgIUxE6P+yQNQE1J6sUeI0cERDUmKkasJo 4lFx12mtiFG2waJ7n9m8UhIIcHEkm+dZvZu4n20H3Kx52NsIcYGsXl2UUfFnYBKn//Bo qupClloUnlnULh2ZCohunrTu1YrE7Oqe1L1Mk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xZiShmcS3oTQ2g30c5KB/Osh3soVjADikf2yiMGDxyB+bG6+UO57mKUH0xtyhFWF43 GRkdyO7iuDsDdKqdZw2JUwEJfmcwemBnfGPPL0Z0dI+7qxl2mv9gkwf6hgtyQmhVnNFV HJ3/+OEih9xd7nUW73GlN13+0lBOpT6tD6JXM=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello,
I am a new user of libevent and new to asynchronous I/O , so the question may seem quite naive.
I am building an application based on libevent on linux using epoll backend.
Sometime clients of my application can write a huge data to my application say 100K bytes.
I am using buffer_read_buffer() api for reading data from clients. In that case, would always only one call of buffer_read_buffer be sufficient or buffer_read_buffer() will get call multiple time until i did not get whole 100K bytes.
Could someone please guide here?
Regards
Deepak