How do you send a file through a winsock connection. I mean if it was a simple text file i know i could just read it in then use send() to send it through, but say its a bigger file such as a bitmap that i can just do that with or can I? If i can do it like that can someone explain how it is done.
Also i want to display the progress of the transfer on a progress bar. I can make a progress bar but i dont know how to make it interact with the file transfer and show its progress.
Thanks for any help