From c9cedace091d4cc9646cf5f2a32234e6c40590ed Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 31 Dec 2015 11:42:32 +0000 Subject: [PATCH] Updated network.inc for programs. git-svn-id: svn://kolibrios.org@6018 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/programs/network.inc b/programs/network.inc index 877ed7e4ad..0c878afb39 100644 --- a/programs/network.inc +++ b/programs/network.inc @@ -3,9 +3,6 @@ SOCK_STREAM = 1 SOCK_DGRAM = 2 SOCK_RAW = 3 -; Socket options -SO_NONBLOCK = 1 shl 31 - ; IP protocols IPPROTO_IP = 0 IPPROTO_ICMP = 1 @@ -20,7 +17,7 @@ IP_TTL = 2 AF_UNSPEC = 0 AF_LOCAL = 1 AF_INET4 = 2 ; IPv4 -AF_INET6 = 28 ; IPv6 +AF_INET6 = 10 ; IPv6 PF_UNSPEC = AF_UNSPEC PF_LOCAL = AF_LOCAL @@ -55,6 +52,7 @@ SOL_SOCKET = 0xffff ; Socket options SO_BINDTODEVICE = 1 shl 9 +SO_NONBLOCK = 1 shl 31 struct sockaddr_in sin_family dw ? ; sa_family_t