The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Peer to Peer Programming

Hello,

I am trying to make an application where user can share their files with their friends. Like in Yahoo! Messenger you can just send a file thru dragging it to chat window, and a direct connection between the two people PC is made, similarly, I want a direct P2P connection between the two remote PCs behind NAT/Firewall.

Any reference, help will be greatly appreciated.

Cheers,
Zeeshan
Zeeshan Alam Send private email
Thursday, September 14, 2006
 
 
if you look on bittorrent.com, there's a guide to implementing bittorrent protocol, and there's a lot of open-source clients to look at example implementations[1]

If you implement that in your peers, you'll automatically get all sorts of advantages from caching systems in the internet infrastructure which can speed up the filesharing.



[1] I caution that they're not necessarily good bits of engineering, but they DO share files...
Katie Lucas
Thursday, September 14, 2006
 
 
If you're using .NET, have a look at Indigo.  P2P is about 5 lines of code.

-Matt
Matt Lavallee Send private email
Friday, September 15, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz