Thread: p2p help!
View Single Post
  #2 (permalink)  
Old 07-13-2008, 12:35 AM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 696
Last Blog:
Programs Under the Hoo...
Rep Power: 12
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: p2p help!

EDIT: Sorry, second link is in Visual Basic but it uses WinAPI you'll be able to understand. I'm good with both languages, so I can help the translation if necessary.

P2P File Transfer (Wikipedia)
Advanced Basics: P2P Comm Using Web Services (MSDN)

The first link describes P2P in detail, the second describes how to do something like you want; you can adapt it to your own needs. Please answer the following:
1) What version of C/C++ are you using?
2) Are you using MFC?
3) Are you transfering files or messages stored in files (like IM stuff)?

Last edited by dargueta; 07-13-2008 at 12:36 AM. Reason: Fixed error
Reply With Quote