From 179e0631ff8cd9a7780881b5ea520af900f5ec15 Mon Sep 17 00:00:00 2001 From: Edward Emelianov Date: Fri, 10 Apr 2026 15:49:31 +0300 Subject: [PATCH] removed BUG --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.c b/socket.c index e54f9d0..d41384b 100644 --- a/socket.c +++ b/socket.c @@ -716,7 +716,7 @@ int sl_sock_open(sl_socktype_e type, const char *path, int isserver, int ai_sock break; } for(struct addrinfo *p = res; p; p = p->ai_next){ - if((sock = socket(p->ai_family, p->ai_socktype|SOCK_NONBLOCK, p->ai_protocol)) < 0) continue; + if((sock = socket(p->ai_family, p->ai_socktype/*|SOCK_NONBLOCK*/, p->ai_protocol)) < 0) continue; DBG("Try proto %d, type %d, socktype %d", p->ai_protocol, p->ai_socktype, p->ai_socktype); if(isserver){ int reuseaddr = 1;