The MSDN shows how to use the API TransmitFile() to send a file over a conneciton-oriented socket.. but it does not show you how to receive it!
Is it done with the recv function or is it done in any other way?
I want this becouse I'm making a chat program. By now it is a frame with a menubar with two (useful, there are more non-useful) entries. Both options creates a child window, but server option sets up a server, and client options conects to a server.
I'm a bit strucked in the function of sending and receiving files. So any help is wellcome