Hi all, I have project that involves an app that will be receiving data from the network. It must have the ability to receive the data and send data back tot he client. There can be more than one client.
After doing some research, I found and got running the example located here:
https://www.codeproject.com/Articles/1415/Introduction-to-TCP-client-server-in-C
This does what I want, but on further research, I understand that I will be using threads where I will listen for each client. Also, some of the examples use a never ending loop to continuously monitor for incoming data. I would like to have this functionality be event driven, so the app can quietly sit there and have an event fired when data is received over the network. The data received needs to be saved to a file for later processing. I see information on the 'net, but some of it is old and uses statements that have been deprecated.
Can anyone recommend any references that I can read (or watch if it is a video) that can illuminate me as to how to author such an app? As always, thanks! Saga