Without SO_NONBLOCK sockets option support, no way to get non blocking sockets!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0fccffc2c2
commit
d8afb49c8d
@ -1123,6 +1123,8 @@ int socket_setsockopt(struct socket *so, int level, int optnum, const void *data
|
||||
case SO_REUSEADDR:
|
||||
case SO_REUSEPORT:
|
||||
case SO_OOBINLINE:
|
||||
case SO_NONBLOCK:
|
||||
break;
|
||||
if (datalen < sizeof(int)) {
|
||||
error = EINVAL;
|
||||
goto bad;
|
||||
|
Loading…
Reference in New Issue
Block a user