Socket.setTcpNoDelay() vs host setting (Nagle'

2019-02-25 20:46发布

问题:

I just wanted some insight into how Nagle's algorithm is handled in regards to an application vs host.

So, say the host had TCP_NODELAY enabled, but the Java application didn't, which would take priority?

What about the other way round?