[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Using evbuffer_add to write into a file
- To: Libevent-users@xxxxxxxx
- Subject: [Libevent-users] Using evbuffer_add to write into a file
- From: Andre <andreapfel@xxxxxxxxx>
- Date: Thu, 03 Jul 2014 17:41:17 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: Libevent-users@xxxxxxxx
- Delivery-date: Thu, 03 Jul 2014 11:41:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=bjqTlVYY7aQZ/0F3v6c1w6ep31ewQFxpDAMFwAix1+w=; b=YmWcuOiJ0D+TxFF9aYDRCjq1Z2seR8MoQT995Wtz+0BtiyLrUFNA82chKbQa/O4Klc nw7pZFanXCvBiBhOm+ePUhA6IlGEBCRrx3BMbUXP9NAFNOOBEZ80OH01ReZwIusFjnZf wLVFh9iCKwry1h69cHJBS7zU56UXVdnJ1Eza0o1DgHRpYaZKOmkUoEk8HDBxf1kQF7/+ JtvBZq8/FIdDd2Gi8klLCURjmrZAbpn7uoj/wnSTZfG5UE7ZAQRUH3Nwo6UYennvuEQg uFV48QOA5tj1DjOzVZZhVEu/Ug4ZagOhxWNqEAFEU8kZ6Q6q0I/o3d9YL65uuZSdhu3I ESDQ==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Hello
I have a lot of functions for serialization data. At the moment I am
just sending these data to other sockets. But I want to save some of the
information with the same functions for serialization in a file. So I
thought that there is might be a chance to fopen and fwrite the data via
libevent with it's file descriptor. I searched a lot but I found nothing
similar to this.
I am using libevent 2.1.4.
Thanks in advance.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.