UpdateIPFormatAndPorts

Update the IP address format and configure a port range.

void UpdateIPFormatAndPorts(char* ipFormat, int startPort, int limit)

Parameters

  • ipFormat: IP format string (e.g., "127.0.0.1:%d").

  • startPort: Starting port number.

  • limit: Number of ports to configure.

Return Value

Update the IP address format and configure a port range

Example

// example

UpdateIPFormatAndPorts("127.0.0.1:%d", 60000, 10);

Last updated

Was this helpful?