Friday, 17 July 2020
  4 Replies
  1.3K Visits
  Subscribe
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. 192.168.1.10:5555) when they start the server. Is there a way to do that?
Thank you.