is it possible to set the highWaterMark of a socket object after it was created:
var http = require(\'http\');
var server = http.createServer();
server.on(
You don't need to. Incoming data will almost certainly be split across two or more reads: this is the nature of TCP and there is nothing you can do about it. Fiddling with obscure socket parameters certainly won't change it. And the data will be lit but certainly not corrupted. Just treat the socket as what it is: a byte stream.