Torrent RFC or specfication?

I am just wondering if I can write a torrent client in ActionScript 3.0. I understand Adobe Flash Player can not do peer-to-peer(P2P) connection now but may partial implementation is possible, where only downloader part is possible, where Flash application connects to torrent network and download bits from different torrent clients on network? I can write a windows/mac exectuable that wraps SWF to achieve this.

I am also not able to find complete specification except BitTorrent’s. If you have been thinking about it or have some thoughts about it, I would appriciate some kind of sharing.

  • I think I may have seen additional resources for the BitTorrent protocol and file format while I was looking into it recently, but that’s the best source of information that I’ve found.
    It should be noted that the BitTorrent protocol is designed to reward people who share/seed and punish those that don’t. Download speeds will be abysmal without sharing. I even wonder if peers will communicate at all if connection requests from them aren’t accepted.

  • > I even wonder if peers will communicate at all if
    > connection requests from them aren’t accepted.
    Yeah, that’s what I also think…
    I want to give try 😉

  • You can do a torrent client without accepting incoming connections. When you make an outgoing connection, the connection is 2-way. So you download, and upload/share over the single connection. The only downside is that you will have fewer overall connections (for example, other people may also not accept incoming connections, and then the only way to talk to them is if they connect to you).

  • Adam

    Hi Abdul –
    I’m wondering if you made any progress with this project? I’m contemplating something similar myself and would love to hear your experiences. Please either respond here or e-mail me offline.
    Thx! – Adam

  • @Adam: I have not done anything after that, got busy with stuff.. I hope to start doing something in free time.
    -abdul