cloudwu/mread — pull request #4 by finaldie (2012-05-11 08:51:16+00:00)
Title: Compile error at old kernel

Here is a compile issue for kernel version old than 2.6.27, due to the "SOCK_NONBLOCK" flag added since Linux 2.6.27.
So here we can use "fcntl" to set the flag of file descriptor.
It's a little bit problem, if we design for un-supporting old kernel, forget this :D