From eae21c4be3bc1faca12ed287ec4bc9c7da6b5d5a Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Wed, 28 May 2014 23:00:53 +0000 Subject: [PATCH] Increased the max socket buffer size from 32k to 256k, for better network throughput on slower links. git-svn-id: svn://kolibrios.org@4959 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/stack.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/network/stack.inc b/kernel/trunk/network/stack.inc index 353376bad5..544bb66d4d 100644 --- a/kernel/trunk/network/stack.inc +++ b/kernel/trunk/network/stack.inc @@ -110,7 +110,7 @@ SS_MORETOCOME = 0x4000 SS_BLOCKED = 0x8000 -SOCKET_MAXDATA = 4096*8 ; must be 4096*(power of 2) where 'power of 2' is at least 8 +SOCKET_MAXDATA = 4096*64 ; must be 4096*(power of 2) where 'power of 2' is at least 8 MAX_backlog = 20 ; maximum backlog for stream sockets ; Error Codes