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

Re: [Libevent-users] Read failures on Unix socket



On 2010-11-02 14:56, Gilad Benjamini wrote:
> - Open a Unix socket
> - Bind to a socket in the file system
> - Add an event with EV_READ and EV_PERSIST
> - Wait for events
> - When an event arrives, call recvfrom on the socket waiting for a fixed
> size of ~1800 bytes

Aren't you supposed to listen() and accept() on Unix sockets, just like
you would for TCP sockets?

Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.