onDhtPort

var onDhtPort: (host: String, port: Int) -> Unit?

Invoked (off-lock) with a DHT-capable peer's advertised UDP port whenever a BEP-5 port message arrives. The engine feeds it into the DHT as a fresh node. Null = ignore.