tag:blogger.com,1999:blog-3099671593541938429.post3578235840333377353..comments2023-06-09T06:49:50.008-07:00Comments on Grammerjack: A Taipei-Torrent postmortem: Writing a BitTorrent client in GoJack Palevichhttp://www.blogger.com/profile/03007259254321602946noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-3099671593541938429.post-29864809096541067732010-01-23T18:03:24.420-08:002010-01-23T18:03:24.420-08:00@Edgar I like using git, so github was a natural c...@Edgar I like using git, so github was a natural choice. Also when I first started the project. I did a web search to see if there were any other Go-based BitTorrent clients, and found the gobit project on github. I initially thought of trying to collaborate on the gobit project, so I registered with github in order to be able to do that.<br /><br />But then I discovered that gobit didn't have anything coded besides a bencode parser, and I wanted to use a different style of bencode parser anyway, so unfortunately it didn't look like there was much to collaborate on. So I started my own project.<br /><br />So far github has worked very well for me.<br /><br /><br />I've published other projects on SourceForge and code.google.com.<br /><br />I wouldn't use SourceForge to start a new project - it's gotten very slow over the years and the web site UI is very hard to navigate.<br /><br />code.google.com is fine, and I would use them again. (Disclaimer: I work for Google.) But I wish code.google.com would support git. (They do support hg, which is a very nice alternative to git,but I prefer git.)Jack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-52385985764870470062010-01-23T17:02:11.592-08:002010-01-23T17:02:11.592-08:00I would like to know why have you prefer to publis...I would like to know why have you prefer to publish your project in GitHub over Launchpad, Sourceforge or other one.<br /><br />As you say in the article, its your BitTorrent Client, so GitHub is for kind of personal projects :)Edgar Polancohttps://www.blogger.com/profile/09743806641995182948noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-70505732828216058912010-01-22T18:15:44.110-08:002010-01-22T18:15:44.110-08:00@macbirdie - yeah, but my spec for the port comman...@macbirdie - yeah, but my spec for the port command says it's payload is a 2-byte port number, and the payload they send me is 16 KB. I guess I'll try poking around to try and find out how DHT works...Jack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-87504612597937951642010-01-22T18:13:38.509-08:002010-01-22T18:13:38.509-08:00@Rajmohan I got started on implementing a bittorre...@Rajmohan I got started on implementing a bittorrent client by doing a web search for "bittorrent protocol spec". These two links were the most helpful:<br /><br />http://www.bittorrent.org/beps/bep_0003.html<br /><br />http://wiki.theory.org/BitTorrentSpecificationJack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-27884119258417750722010-01-22T06:03:47.554-08:002010-01-22T06:03:47.554-08:00Hey, nice work!
As for the "bugs" secti...Hey, nice work!<br /><br />As for the "bugs" section in your code, the PORT sent by some peers has to do with trying to include you in the DHT they may be part of.<br /><br />Rajmohan - BitTorrent protocol is documented but there is lots of little stuff you have to figure out on your own.<br />See BitTorrent questions on Stack Overflow, like <a href="http://stackoverflow.com/questions/990677" rel="nofollow">this</a>.macbirdiehttps://www.blogger.com/profile/00006366818818169082noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-87063200990242440792010-01-22T03:56:37.868-08:002010-01-22T03:56:37.868-08:00Is there a standard protocol that is used for the ...Is there a standard protocol that is used for the bit torrent? If so, could you pls share more info on this.<br /><br />Thanks.Rajmohanhttps://www.blogger.com/profile/13348767668590962100noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-28150756339264202992010-01-21T22:21:20.709-08:002010-01-21T22:21:20.709-08:00The code is already published at GitHub -- that...The code is already published at GitHub -- that's where the "Taipei Torrent" link points in the first paragraph.<br /><br />http://github.com/jackpal/Taipei-TorrentJack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-46422196308717450222010-01-21T16:12:46.163-08:002010-01-21T16:12:46.163-08:00Interesting! Do you plan to publish the source cod...Interesting! Do you plan to publish the source code ?ZenCodeMonkeyhttps://www.blogger.com/profile/02744321319563771667noreply@blogger.com