Hi, my question is as follows. I have 2 computers, connected with a crossover cable. I would like to be able to copy files from computer 1 to computer 2 across the cable. I aim to create a program in c++ that wil allow the tranfer of files between the 2 computers.


Is this possible? If so has anyone got any pointers on making a start, or resources i can look at?


cheers

you must assign static ip addresses to the two machines from one of these three non-routing address pools
192.168.0.0
to 192.168.255.255
172.16.0.0 to 172.31.255.255
10.0.0.0 to 10.255.255.255
see http://www.faqs.org/rfcs/rfc1918.html
once you have done that, use any file transfer mechanism that catches your fancy; FTP, sockets programming, NFS or whatever else. for an example see http://www.5starsupport.com/tutorial/networking-crossover-cable.htm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.