From 4d5f1c16c561b0221ede861cb60dd18a1c228aa4 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 4 Sep 2015 13:49:43 -0400
Subject: [PATCH] Use Pd-Vanilla values for BYTESPERPING

---
 pd/src/s_inter.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c
index ba490dafb..0f355df03 100644
--- a/pd/src/s_inter.c
+++ b/pd/src/s_inter.c
@@ -588,8 +588,8 @@ void sys_closesocket(int fd)
 /* ---------------------- sending messages to the GUI ------------------ */
 #define GUI_ALLOCCHUNK 8192
 #define GUI_UPDATESLICE 512 /* how much we try to do in one idle period */
-//#define GUI_BYTESPERPING 1024 /* how much we send up per ping */
-#define GUI_BYTESPERPING 0x7fffffff /* as per Miller's suggestion to disable the flow control */
+#define GUI_BYTESPERPING 1024 /* how much we send up per ping */
+//#define GUI_BYTESPERPING 0x7fffffff /* as per Miller's suggestion to disable the flow control */
 
 typedef struct _guiqueue
 {
@@ -1288,7 +1288,10 @@ int sys_startgui(const char *guidir)
 
             sprintf(cmdbuf,
                 "%s/nw/nw %s %d localhost %s\n",
-                guidir, guidir, portno,
+                guidir,
+                guidir,
+//                "/home/user/pd-nw/pd/nw",
+                portno,
                 (sys_k12_mode ? "pd-l2ork-k12" : "pd-l2ork"));
 
 #endif
-- 
GitLab