code: public void applySettings(@NotNull SocketChannel channel) throws IOException {
  		if (sendBufferSize != 0) {
  			channel.setOption(SO_SNDBUF, sendBufferSize);
  		}
  		if (receiveBufferSize != 0) {
  			channel.setOption(SO_RCVBUF, receiveBufferSize);
  		}
  		if (keepAlive != DEF_BOOL) {
  			channel.setOption(SO_KEEPALIVE, keepAlive != FALSE);
  		}
  		if (reuseAddress != DEF_BOOL) {
  			channel.setOption(SO_REUSEADDR, reuseAddress != FALSE);
  		}
  		if (tcpNoDelay != DEF_BOOL) {
  			channel.setOption(TCP_NODELAY, tcpNoDelay != FALSE);
  		}
  	}
docs: endregion