aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/settings.js b/src/settings.js
index ba37c715..42267428 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -147,12 +147,6 @@ var LIBRARY_DEBUG = 0; // Print out when we enter a library call (library*.js).
var GL_DEBUG = 0; // Print out all calls into WebGL. As with LIBRARY_DEBUG, you can set a runtime
// option, in this case GL.debug.
var SOCKET_DEBUG = 0; // Log out socket/network data transfer.
-var SOCKET_FORCED_MESSAGING = 0; // If 1, we make sure that each socket send ends up a single socket
- // receive, that is, we force proper messaging (otherwise, sending
- // [A] and [B] can show up on the other side as [A, B]). This will
- // only work if both sides have it enabled, obviously, so it only
- // makes sense for p2p or when connecting to a special server - we
- // add some metadata (message size) to messages in this mode
var PROFILE_MAIN_LOOP = 0; // Profile the function called in set_main_loop
@@ -1197,6 +1191,8 @@ var C_DEFINES = {'SI_MESGQ': '5',
'_SC_TTY_NAME_MAX': '41',
'AF_INET': '1',
'AF_INET6': '6',
- 'FIONREAD': '1'
+ 'FIONREAD': '1',
+ 'SOCK_STREAM': '200',
+ 'IPPROTO_TCP': 1
};