[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] bufferevents and pipes
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] bufferevents and pipes
- From: Thomas Adam <thomas@xxxxxxxxxx>
- Date: Wed, 24 Jun 2020 17:23:55 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 24 Jun 2020 12:24:09 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xteddy-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=LpQCaeCeAPLtgIJXtTm9b5qk4CMKbMcBvwSa6zqHFfA=; b=jRtubDN4GsB4xtTgkjYaQyThGKKN8A+j26isWTvSh1lgxXrqKBc/xBo4zgpSb81mp+ 2VwhtwHQlJN8lcPjqpgtyF+BKYl7pHzvhPk/041Dn9D2FwmujamC5l/WbzQpq22F4HAL Aglu7+EpTpBZ5RjDPXD6bmodYHxqyBS0p55PxWW8sfYMzRhIIStK6Sfv8zsfEoQVmqyo +nV7YUrG/7wjGFerjImxSnzwN+/Gf/un2SOzoskf54gyZFeN7CgIkuGTDENJx/IA1x9v gTx5m0/nAqc2zlP13ctoZ/91NbLmaGhYSdG2n8+jmV84xMf0YwPBJMKK84LhpgsEwFqZ PkoA==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi all,
I am writing a program in C using network I/O for Linux/BSD.
Things are working well with libevent for the socket types I'm using,
and I'm able to make use of bufferevents on these sockets.
However, part of this application also receives a file descriptor via
pipe(2) which it can then use to read() from. My understanding is
that bufferevents don't work with FDs created with pipe().
Is this still the case? If not, am I still able to use libevent to
monitor FDs created with pipe(2) in some other way?
TIA,
Thomas
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.