public int chooseProtocolVersion(){
  return preferredProtocolVersion;
}

public int chooseProtocolVersion ( ) { return preferredProtocolVersion ; }
returns the protocol version to use for sending multicast requests or announcements , or initiating unicast discovery .
