[OT] why send()/recv() instead of write()/read()
ambrus at math.bme.hu
Wed Nov 3 20:46:07 CET 2010
On Wed, Nov 3, 2010 at 7:26 PM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Tue, Nov 02, 2010 at 02:14:42PM -0600, AJ ONeal <coolaj86 at gmail.com> wrote:
>> *send()* and *recv()*. Well, in short, I was being lazy. See, by using these
>> system calls, I don't have to enter the *flags* argument that *send()* and *
>> recv()* use, and I always set it to zero anyway. Of course, socket
> Not only that, it means your code will be much more generic (it works with
> non-sockets for example).
Libev still doesn't support waiting on regular files, right?
More information about the libev