I know how to use sockets, but I've been having so many problems with sending files that before I continue I would like to see some examples. So any examples would be nice, preferably ones that do not use MFC and are relatively simple. I have also posted my code below in case you can help me fix it.
