socket.setNoDelay([noDelay])
Disables the Nagle algorithm. By default TCP connections use the Nagle algorithm, they buffer data before sending it off. Setting true
for noDelay
will immediately fire off data each time socket.write()
is called. noDelay
defaults to true
.
Returns socket
.
Please login to continue.