Igor Sysoev
2006-Jan-26 09:10 UTC
Strange interaction between kqueue and UNIX domain sockets
I've saw strange interaction between UNIX domain sockets and kqueue in FreeBSD 5.4 (at least). One process connects to another process via UNIX domain socket. Second process writes some data and abnormally exits. The kqueue reports to the first process about some data in fflags and set EV_EOF flag. However, the next recv() returns 0 zero bytes. It seems that kernel ignores these data. I never saw such interaction between kqueue and TCP sockets. Igor Sysoev http://sysoev.ru/en/