From d8afb49c8d0bc89052de6e347b1aad907236f6f2 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Fri, 7 May 2004 20:37:17 +0000 Subject: [PATCH] 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 --- src/add-ons/kernel/network/core/socket.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/add-ons/kernel/network/core/socket.c b/src/add-ons/kernel/network/core/socket.c index cae7c0bc02..510d988c2f 100644 --- a/src/add-ons/kernel/network/core/socket.c +++ b/src/add-ons/kernel/network/core/socket.c @@ -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;