Friday, 17 July 2020
  4 Replies
  1.2K Visits
Is there a way to change the socket listening port dynamically? It would normally be entered before compile in the iwservercontroller form "port" property (e.g. 8888). In the WebSocket examples, the sgcWebSocketServer has been added to that IW form and it shows port 5414, which I don't see anywhere else. My application was hard-coded via the iwservercontroller form to 5200 and when run, that is the port the remote web page must use.
I would like the user to be able to set the port number to be used to connect (e.g. when they start the server. Is there a way to do that?
Thank you.