StreamPeerTCP.setNoDelay

If enabled is true, packets will be sent immediately. If enabled is false (the default), packet transfers will be delayed and combined using url=https://en.wikipedia.org/wiki/Nagle%27s_algorithmNagle's algorithm/url. Note: It's recommended to leave this disabled for applications that send large packets or need to transfer a lot of data, as enabling this can decrease the total available bandwidth.

struct StreamPeerTCP
@nogc nothrow
void
setNoDelay
(
in bool enabled
)

Meta