findAndSelectPort

Searches for an open port to spawn dcd-server in asynchronously starting with port, always increasing by one.

@component("dcd")
@arguments("subcmd", "find-and-select-port")
void
findAndSelectPort
(,
ushort port = 9166
)

Return Value

Type: void

null if not available, otherwise the port as number

Call With

{"subcmd": "find-and-select-port"}

Meta