code: public final void bind(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses) throws IOException {
          if (firstLocalAddress == null) {
              bind(getDefaultLocalAddresses());
              return;
          }
          
          List<SocketAddress> localAddresses = new ArrayList<>(2);
          localAddresses.add(firstLocalAddress);
  
          if (otherLocalAddresses != null) {
              Collections.addAll(localAddresses, otherLocalAddresses);
          }
  
          bind(localAddresses);
      }
docs: {@inheritDoc}