updateIpFormatAndPorts(...args)
Updates the IP format and the range of ports used by the SDK.
updateIpFormatAndPorts(ipFormat, startPort, limit)
Parameters
ipFormat (string) – Format string (e.g., "127.0.0.1:%d").
startPort (number) – Starting port.
limit (number) – Number of ports (in some bindings) or endPort (Node-API).
Return Value
void or number
Example
// example
sdk.updateIpFormatAndPorts("127.0.0.1:%d", 60000, 10);
Last updated
Was this helpful?