I saw there is a new version of dart:io. How do I create a socket server with the new v2 dart:IO that listens to a port for new data and pushes the received data via Web Sockets to its subscribed clients?
I have a java and a c# desktop application (tcpClient) and I would like to send a string (json or xml) to my dart server on a specific port. That string should be replied to my tcpClient and pushed with Web Sockets to all other subscribed clients(browsers).
I have the following, but how do I access the data that has been sent to that specific socket?
....