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