Bittorrent library?

#1
[eluser]prototype20[/eluser]
Hi guys!

I want to build a bittorrent tracker based on CI. I need bittorrent library, or plugin, and announce.

Please, help me, how to start?
(I'm using IonAuth for authentication)

Thanks!

Sorry for my bad english.

#2
[eluser]davidbehler[/eluser]
I don't think there is a ready to use library for CI but in this case google is your friend Smile

http://www.google.com/search?q=php+torrent+library

maybe that helps

#3
[eluser]prototype20[/eluser]
Already 2 of his days I am searching, but nothing I did not find one which can be used. :down:
I need help to start.

#4
[eluser]prototype20[/eluser]
problem solved

#5
[eluser]mi6crazyheart[/eluser]
@prototype20
If u tell how u solved u'r problem then it'll be really help full for others in future...

#6
[eluser]prototype20[/eluser]
I'm using XBT tracker.

Example announce.php:
http://depositfiles.com/files/5cjpqugj6

Database Peers table:
Code:
CREATE TABLE IF NOT EXISTS `peers` (
  `infohash` varchar(40) COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `peer_id` varchar(40) COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `bytes` bigint(20) NOT NULL DEFAULT '0',
  `ip` varchar(50) COLLATE latin1_general_ci NOT NULL DEFAULT 'error.x',
  `port` smallint(5) unsigned NOT NULL DEFAULT '0',
  `status` enum('leecher','seeder') COLLATE latin1_general_ci NOT NULL DEFAULT 'leecher',
  `started` int(11) unsigned NOT NULL DEFAULT '0',
  `lastupdate` int(10) unsigned NOT NULL DEFAULT '0',
  `client` varchar(60) COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `uploaded` bigint(20) unsigned NOT NULL DEFAULT '0',
  `downloaded` bigint(20) unsigned NOT NULL DEFAULT '0',
  `pid` varchar(32) COLLATE latin1_general_ci DEFAULT NULL,
  PRIMARY KEY (`infohash`,`peer_id`),
  KEY `pid` (`pid`),
  KEY `ip` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.