Is there any way to don't start a WebSocket server on a specific port but let it to find a free one??? (then I could get it through Port property or Bindings counterpart)
Hello,
Yes, just set Port to zero and the server will choose the first available port that finds.
TsgcWebSocketServer1.Port := 0;
You can know which is the Port selected accessing to the bindings property.