in reply to InterProcess Communication
recv says it accepts the same flags as the underlying system call, which is (on my system) MSG_DONTWAIT.