I need to set up a TCP server and the sensor devices need to connect to it as TCP clients.
Also, when I add an mp3 file to a device in the admin panel on react, I need to send that file to the appropriate client.
In turn, the device may send me certain data.
I wanted to know how the logic and structure of this whole process should be established correctly?
What should I put my TCP server on? (.Net Core Console, API or Worker Service?)
How can I transfer my mp3 file to my TCP server from the admin panel? and so on
Thanks in advance