swax / gnucdna Goto Github PK
View Code? Open in Web Editor NEWLibrary for Gnutella and G2 networks
Home Page: http://www.gnucleus.org/GnucDNA
Library for Gnutella and G2 networks
Home Page: http://www.gnucleus.org/GnucDNA
Welcome to GnucDNA. This is a Gnutella COM component for use in a variety of applications and services. Any changes made please add them to the ChangeLog file with your name and contact information Version changing notes: .idl file version res file stdafx.h file gnucdna.cpp file Before Release Make sure version set in resource file Make sure debug log off C++ Implementation notes: #include "afxctl.h" needed for AfxConnectionAdvise (events) #include <comdef.h> needed for _variant_t and helper classes Lesson Use most popular of data set to prevent fakes 6025 - pure virtual function call Occured while deleting a corrupt class, array was being assigned values out of bounds ----------------------------------------------------------------------------- ReSearching Transfers Start() Set the research on start Set next, 15 min from now ReSearch() Reset the research on research Set next research double of previous Max at 8 hours, 15m, 30m, 1h, 2h, 4h, 8h... Minute Timer in Transfer Control Dont research pending or done Find the host with the lowest research value If greater than current time If 5 minutes past since last research Do research() Math worst case 200 Nodes, 1 ReSearch Query ever 5 mins G1 Ultrapeer 40 queries / min all dynamic G2 whole network... Connecting Trust 5 alt hosts from remote node Pick random node from top 15 to try next If cache item is added that has been tried in last minute put at bottom of list Downloading only hosts that transferred put on alt hosts that didnt work put on nalt nalt is used to notify upload side Subnets Only use 3 hosts per class C subnet to prevent flooding Doesnt apply to private IPs, limewire sends them like crazy upload only hosts transferred data to put on alt take hosts off if received nalt for it // no rouge is going to know everyone we're transferring to servers dont send or keep nalt list
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.