checkPort abstract method
Performs an advisory bind probe without starting the server. It is useful
for diagnostics only; callers should still handle port_in_use from
startServer, because a probe and a later bind are not atomic.
Implementation
Future<MnnPortCheckResult> checkPort({
required MnnServerBindMode bindMode,
required int port,
});