MFC Sockets - File Transfer
Posted on 2003-03-05
I'm looking to build a program based on a MFC Dialog client program, and I want it to be able to connect to another computer also running the same program, and have the ability to send files. (messages also would be ideal, however files is the important part.)
I have tried a couple things, but the problem I usually run into is that the program stops responding when it is listening for connections.. waiting to receive data etc.
I don't know enough about threads to understand some of this...
Can anyone explain how to create a program that can do this & Explain how to avoid the problem that the program hangs while waiting?
Source code/examples would be appreciated.
Thanks in advance!