I'm looking to build a simple program that does a couple rather simple things:
1. determines the IP address of the computer that it is run on.
2. Act either as a server or a client, and allow files to be sent between two computers both running the program.
I've been looking at sockets etc.
Can someone give me some information on how to do this, as well as some sample code if possible?
This needs to work in MSVC++ 6.