Hello, this is my first question on this website, hope I do good :)
so I'm new to c++ and started working on a project because I like to learn by doing, the project is made of two applications one client and one server and they communicate using sockets.
I want to write two functions to receive and send all data (big data, like files) from and to the socket.
I searched online for examples but couldn't find anything I understand, so I thought maybe I would ask for examples of the code online myself.
thanks
What I have tried:
I have tried different examples I found online, but couldn't get them to work together as they make my app hang. (also they seemed complicated)