incompatibility

function incompatibility
net.ts:263
incompatibility(server: Versions, client: Versions) → string | null

Whether two peers can talk, and if not, why in one sentence.

Returns null when they agree. A reading of versionDrift with the protocol check in front of it: the protocol has to match before a drift on anything else is even meaningful, because a peer that cannot parse the message cannot be told what it disagrees about.

serverVersions
Undocumented
clientVersions
Undocumented
Returnsstring | null