Thursday, 14 January 2021
  1 Replies
  1.2K Visits
  Subscribe
Hi, I have no experience with this and I am struggle to achieve my goal. Your help would be much appreciated.

I want to be able to click a button that creates a dynamic websocket client and connect to a websocket server. It should then be listed in a listview or something. There should be another button that disconnects and destroys the other client that is selected from the list.

Short story. Have 2 buttons and 1 list.

Button 1: Create and connect to a websocket server.
Button 2: Disconnect and destroy the selected websocket client that is selected from the list.
List: shows created websocket clients.

I would really appreciate it if you could help me with a demo. I have been struggling for hours but I end up failing how to list the websocket clients and manage them. Thanks in advanced.